9front - general discussion about 9front
 help / color / mirror / Atom feed
* Bug in time cmd?
@ 2020-03-10 23:39 Trevor Higgins
  2020-03-13 16:55 ` [9front] " Ethan Gardener
  0 siblings, 1 reply; 7+ messages in thread
From: Trevor Higgins @ 2020-03-10 23:39 UTC (permalink / raw)
  To: 9front

Doing some timing tests with mk I got these sort of figures?

14.28u  6.14s 5.92r

 From my *nix understanding the 'u' time is way off. Actual elapsed time 
was approx 6seconds.


-- 
We need another plan



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [9front] Bug in time cmd?
@ 2020-03-11  0:11 Alex Musolino
  2020-03-11  2:28 ` Trevor Higgins
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Musolino @ 2020-03-11  0:11 UTC (permalink / raw)
  To: 9front

These figures come from the Waitmsg structure returned by wait(2).  The
'u' time is the total user time of the child process *and descendants*.
Given that you likely have a multiprocessor and mk will parallelise its
work according to the NPROC environemnt variable, that ought to explain
how you are able to achieve 14s of user time in only 6s real time.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-03-13 16:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 23:39 Bug in time cmd? Trevor Higgins
2020-03-13 16:55 ` [9front] " Ethan Gardener
2020-03-11  0:11 Alex Musolino
2020-03-11  2:28 ` Trevor Higgins
2020-03-11  2:33   ` ori
2020-03-11  4:15     ` Trevor Higgins
2020-03-11  4:45       ` ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).