-
Notifications
You must be signed in to change notification settings - Fork 608
feat: add system information functions to the standard library #8109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Mathlib CI status (docs):
|
/-- | ||
CPU time spent in user mode (milliseconds) | ||
-/ | ||
cpuUserTimeMs : Time.Millisecond.Offset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's drop the Ms
suffix, it's part of the type now.
|
||
|
||
/-- | ||
A process identifier, typically a numeric ID like in UNIX (e.g. 1001). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by "typically" here (and elsewhere)?
Returns the absolute path of the current executable. | ||
-/ | ||
@[inline] | ||
def getExecutablePath : IO String := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a specific reason while this is not a System.FilePath
?
This PR adds system information functions to the standard library