diff options
author | Keith Whitwell <[email protected]> | 2009-09-21 15:51:26 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-09-21 15:57:13 +0100 |
commit | ed63bd62d85c92555c1d310ae46064ad3c7d47ee (patch) | |
tree | d83613d5f9c350a4f19a94222c3d6c85247154a4 /progs/perf/common.h | |
parent | d17af7d1e19e637e29db47bd8f6e3e579760c530 (diff) |
progs/perf: add human-readable float formatter
Diffstat (limited to 'progs/perf/common.h')
-rw-r--r-- | progs/perf/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/perf/common.h b/progs/perf/common.h index 85db678c64e..fc49bbed32f 100644 --- a/progs/perf/common.h +++ b/progs/perf/common.h @@ -30,6 +30,8 @@ typedef void (*PerfRateFunc)(unsigned count); extern double PerfMeasureRate(PerfRateFunc f); +const char * +PerfHumanFloat( double d ); extern void perf_printf(const char *format, ...); |