path: root/tools/perf/builtin.h
diff options
authorHitoshi Mitake <>2009-11-05 09:31:33 +0900
committerIngo Molnar <>2009-11-08 10:19:18 +0100
commitc7d9300f367f480aee4663a0e3695c5b48859a1a (patch)
tree3377b76fd126f5fb075183151de62a6f0b7aa724 /tools/perf/builtin.h
parente27454cc6352c4226ddc76f5e3a5dedd7dff456a (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: 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 <> Cc: Rusty Russell <> Cc: Peter Zijlstra <> Cc: Mike Galbraith <> Cc: Arnaldo Carvalho de Melo <> Cc: Cc: Jiri Kosina <> LKML-Reference: <> Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'tools/perf/builtin.h')
0 files changed, 0 insertions, 0 deletions