diff options
Diffstat (limited to 'src/defs.h')
-rw-r--r-- | src/defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h index df7894df5..846a7ae5a 100644 --- a/src/defs.h +++ b/src/defs.h @@ -1554,6 +1554,8 @@ extern const struct timespec *ts_min(const struct timespec *, const struct times extern const struct timespec *ts_max(const struct timespec *, const struct timespec *); extern int parse_ts(const char *s, struct timespec *t); +/** Print a time interval value specified as a number 1/freq-sized ticks. */ +extern void print_ticks(uint64_t val, long freq, unsigned int precision); /** Print a clock_t value, as used by times(2) (and not clock(3)). */ extern void print_clock_t(uint64_t val); |