diff options
author | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-10-03 19:30:48 +0200 |
---|---|---|
committer | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-10-03 19:30:48 +0200 |
commit | 6d25b9125ec1e66e0e255b0ee20fe18dfe1076fa (patch) | |
tree | c376951940eac2875567979a81e6a03a019942b7 /progs/perf/common.h | |
parent | 81c7561d9d3faf70ac22c6a5f3fbea18f53eed92 (diff) | |
parent | 7d2699aedc084d9cb9c2bd2f8bdb5f038271ac1e (diff) |
Merge branch 'master' into r300-compiler
Diffstat (limited to 'progs/perf/common.h')
-rw-r--r-- | progs/perf/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/perf/common.h b/progs/perf/common.h index 85db678c64..6ea17402b5 100644 --- a/progs/perf/common.h +++ b/progs/perf/common.h @@ -24,12 +24,17 @@ #define COMMON_H +#include <stddef.h> /* for offsetof() */ + + typedef void (*PerfRateFunc)(unsigned count); extern double PerfMeasureRate(PerfRateFunc f); +const char * +PerfHumanFloat( double d ); extern void perf_printf(const char *format, ...); |