Hacker News new | ask | show | jobs
by pytness 624 days ago
> Yes. I was confused by its output, i.e. 2541.91s

Thats the output of the shell command `time` (im using zsh so the output differs from other shells) eg `time cargo build`.

system is the cpu time spent calling kernel functions and user is the cpu time spent outside kernel functions. The time is measured per core, so if the program runs for 2 seconds with 16 threads, the user time would be around 32.

Notice there is a cpu metric (1341% cpu), if you do: (user + system) / cpu * 100 / 60 = ~3.29 minutes = 3m:17s