mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
perf bench: Add format constants to bench.h for unified output formatting
This patch adds some constants and extern declaration to bench.h. These are used for unified output formatting of 'perf bench'. Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1257808802-9420-2-git-send-email-mitake@dcl.info.waseda.ac.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
5ff0cfc67f
commit
242aa14a67
1 changed files with 9 additions and 0 deletions
|
@ -6,4 +6,13 @@ extern int bench_sched_messaging(int argc, const char **argv,
|
|||
extern int bench_sched_pipe(int argc, const char **argv,
|
||||
const char *prefix);
|
||||
|
||||
#define BENCH_FORMAT_DEFAULT_STR "default"
|
||||
#define BENCH_FORMAT_DEFAULT 0
|
||||
#define BENCH_FORMAT_SIMPLE_STR "simple"
|
||||
#define BENCH_FORMAT_SIMPLE 1
|
||||
|
||||
#define BENCH_FORMAT_UNKNOWN -1
|
||||
|
||||
extern int bench_format;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue