aboutsummaryrefslogtreecommitdiff
path: root/editors/patch.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2026-04-12 11:49:29 +0100
committerRon Yorston <rmy@pobox.com>2026-04-12 11:49:29 +0100
commit333c65ca71f1acb2cc6cd3920a346bb8ddf82dec (patch)
treef4f8b1f07358949579a08a8ae084a57a12e22506 /editors/patch.c
parent4e7a8bfc75b129b3a671229544f9e5c4168daabf (diff)
downloadbusybox-w32-333c65ca71f1acb2cc6cd3920a346bb8ddf82dec.tar.gz
busybox-w32-333c65ca71f1acb2cc6cd3920a346bb8ddf82dec.tar.bz2
busybox-w32-333c65ca71f1acb2cc6cd3920a346bb8ddf82dec.zip
ash: allow 'times' built-in to report process timing
Move existing code which obtains process execution times into a separate function. Use it to allow times(2) to report execution times for the current process, though not child execution times. Change TICKS_PER_SECOND from 100 to 1000 to increase the displayed resolution of process times (though the measured resolution may well be less than this). Adds 48-80 bytes. (GitHub issue #574)
Diffstat (limited to 'editors/patch.c')
0 files changed, 0 insertions, 0 deletions