Skip to content
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

Add ability to measure user and system time #5

Closed
sharkdp opened this issue Jan 13, 2018 · 1 comment
Closed

Add ability to measure user and system time #5

sharkdp opened this issue Jan 13, 2018 · 1 comment

Comments

@sharkdp
Copy link
Owner

sharkdp commented Jan 13, 2018

Just like time(1):

$ /bin/time -p fd -HI -e jpg '' ~ > /dev/null
real 1.41
user 4.23
sys 2.89
@hmenke
Copy link
Contributor

hmenke commented Jan 15, 2018

time on Linux uses procfs to obtain this info. There is a crate for this procinfo but this of course does not work on Mac OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants