diff options
author | Hitoshi Mitake <[email protected]> | 2009-11-05 09:31:33 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-11-08 10:19:18 +0100 |
commit | c7d9300f367f480aee4663a0e3695c5b48859a1a (patch) | |
tree | 3377b76fd126f5fb075183151de62a6f0b7aa724 /tools/perf/scripts/python/check-perf-trace.py | |
parent | e27454cc6352c4226ddc76f5e3a5dedd7dff456a (diff) |
perf bench: Add sched-pipe.c: Benchmark for pipe() system call
This patch adds bench/sched-pipe.c.
bench/sched-pipe.c is a benchmark program
to measure performance of pipe() system call.
This benchmark is based on pipe-test-1m.c by Ingo Molnar:
http://people.redhat.com/mingo/cfs-scheduler/tools/pipe-test-1m.c
Example of use:
% perf bench sched pipe
(executing 1000000 pipe operations between two tasks)
Total time:4.499 sec
4.499179 usecs/op
222262 ops/sec
% perf bench sched pipe -s -l 1000
0.015
Signed-off-by: Hitoshi Mitake <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: [email protected]
Cc: Jiri Kosina <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions