summaryrefslogtreecommitdiff
path: root/tests/pure_executables.list
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2023-05-10 19:55:30 +0200
committerDmitry V. Levin <ldv@strace.io>2023-05-10 18:08:00 +0000
commit4f1fad56cba89009d8aaf63d24b34279d912b333 (patch)
tree22d3d43f388ed3c36ddb13c40db4779af3a53c72 /tests/pure_executables.list
parent6387801953c6d04fac0fcc86db23507774a706c8 (diff)
downloadstrace-4f1fad56cba89009d8aaf63d24b34279d912b333.tar.gz
util: factor out printing of time interval in a human-readable form
Also, remove all this dance with separate fractional part printing as %f doesn't trim the trailing zeroes and checking whether %g does the right thing in all cases is too much hassle. * src/defs.h (print_ticks): New declaration. * src/util.c (print_ticks): New function. (print_clock_t): Call it.
Diffstat (limited to 'tests/pure_executables.list')
0 files changed, 0 insertions, 0 deletions