]> git.openfabrics.org - ~emulex/infiniband.git/commit
perf bench: Modify builtin-bench.c for processing common options
authorHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Mon, 9 Nov 2009 23:20:00 +0000 (08:20 +0900)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Nov 2009 03:53:48 +0000 (04:53 +0100)
commit386d7e9e542c2115d5d300747e57f503458a1617
tree0cacfa2528b0f2ebbea2dddc69bd6cbec2250c13
parent242aa14a67f4e19453fc8a51cffc5ac5ee5bcbd1
perf bench: Modify builtin-bench.c for processing common options

This patch modifies builtin-bench.c for processing common
options. The first option added is "--format".
Users of perf bench will be able to specify output style by
--format.

Usage example:

 % ./perf bench sched messaging # with no style specify
 (20 sender and receiver processes per group)
 (10 groups == 400 processes run)

         Total time:1.431 sec

 % ./perf bench --format=simple sched messaging # specified
 simple 1.431

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-3-git-send-email-mitake@dcl.info.waseda.ac.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-bench.c