-T requests timing information in the line printed for each call made.
-c requests that those lines never be printed, so -T does not mean anything
with -c.  The times printed by -T are real (wall clock) time.  As the
description you quoted says (on Linux), -c collects system time (CPU time
in kernel mode) instead.

The purpose of calls like nanosleep is to take arbitrarily long in real
time while taking nearly no CPU time at all.  So the output you don't like
is precisely what one should expect.

Patches to the man page source to make it less likely to be misunderstood
are always welcome.  If you would like some new feature or combination of
options to display real time instead of or in addition to CPU time in the
-c output, patches for that would be accepted too.  Likewise if you want an
option to make the -T display show CPU time.


Thanks,
Roland



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to