Author: cctrieloff
Date: Tue Jul 31 12:08:40 2007
New Revision: 561441
URL: http://svn.apache.org/viewvc?view=rev&rev=561441
Log:
oprofile script
Added:
incubator/qpid/trunk/qpid/cpp/src/prof (with props)
Added: incubator/qpid/trunk/qpid/cpp/src/prof
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/prof?view=auto&rev=561441
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/prof (added)
+++ incubator/qpid/trunk/qpid/cpp/src/prof Tue Jul 31 12:08:40 2007
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+rm /var/lib/oprofile/oprofiled.log
+
+opcontrol --reset
+opcontrol --setup --no-vmlinux --separate=library
+opcontrol --start
+# -- Do stuff here --
+./qpidd
+# -- End of stuff --
+opcontrol --stop
+opcontrol --dump
+opcontrol --shutdown
+opreport -l ./.libs/lt-qpidd > stats.txt
+opannotate --source --output-dir=qpidd-prof ./.libs/lt-qpidd
+
+# clear the relusts
+#opcontrol --reset
Propchange: incubator/qpid/trunk/qpid/cpp/src/prof
------------------------------------------------------------------------------
svn:executable = *