From 95fefedba43e358077689fc4530f5bfe64116148 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 10 May 2011 13:10:21 +0200 Subject: [PATCH] add template for oprofile benchmark Signed-off-by: Nico Schottelius --- doc/dev/benchmark-oprofile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/dev/benchmark-oprofile diff --git a/doc/dev/benchmark-oprofile b/doc/dev/benchmark-oprofile new file mode 100644 index 00000000..c60ef909 --- /dev/null +++ b/doc/dev/benchmark-oprofile @@ -0,0 +1,12 @@ +10:37 #!/bin/sh +10:37 opcontrol --no-vmlinux > /dev/null +10:37 opcontrol --stop > /dev/null +10:37 opcontrol --shutdown > /dev/null +10:37 opcontrol --reset > /dev/null +10:37 opcontrol --separate=none > /dev/null +10:37 opcontrol $* > /dev/null +10:37 opcontrol --start > /dev/null +10:37 ./urpcbench 0 0 1 +10:37 opcontrol --stop > /dev/null +10:37 opcontrol --dump > /dev/null +10:37 opreport -l urpcbench