#
b81c04af |
| 06-Mar.-2018 |
Assaf Gordon <assafgordon@gmail.com> |
time: report CPU usage for programs lasting less than 1 second If a program lasts less than 1 second, fallback to calculate percent CPU usage based on nanosecond measurements. S
time: report CPU usage for programs lasting less than 1 second If a program lasts less than 1 second, fallback to calculate percent CPU usage based on nanosecond measurements. Suggested by Petr Pisar at https://lists.gnu.org/r/bug-time/2018-01/msg00000.html Based on Fedora patch: https://src.fedoraproject.org/rpms/time/blob/master/f/time-1.8-Recompute-CPU-usage-at-microsecond-level.patch * NEWS: Mention this. * time.c (summarize): Calculate CPU usage based on nanoseconds if elapsed seconds are zero. * tests/time-aux.c: Add busy loop, kernel loop, sleep loop options; add help screen.
show more ...
|
#
c5e97663 |
| 08-Nov.-2017 |
Assaf Gordon <assafgordon@gmail.com> |
time: remove "Command exited with non-zero status" in POSIX (-p) mode Suggested by Petr Pisar in https://lists.gnu.org/archive/html/bug-time/2017-11/msg00001.html . * src/time.c
time: remove "Command exited with non-zero status" in POSIX (-p) mode Suggested by Petr Pisar in https://lists.gnu.org/archive/html/bug-time/2017-11/msg00001.html . * src/time.c (summarize): Don't print the message in posix mode. * tests/time-posix-quiet.sh: Test the output with -p and -q. * Makefile.am (TESTS): Add new test. * NEWS: Mention change.
show more ...
|