diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-04-12 11:49:29 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-04-12 11:49:29 +0100 |
| commit | 333c65ca71f1acb2cc6cd3920a346bb8ddf82dec (patch) | |
| tree | f4f8b1f07358949579a08a8ae084a57a12e22506 /editors/patch.c | |
| parent | 4e7a8bfc75b129b3a671229544f9e5c4168daabf (diff) | |
| download | busybox-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
