Commit 138452e8 authored by Rich Prohaska's avatar Rich Prohaska

cleanup pmprof a bit

parent ec0b0b40
#!/bin/bash
# a poor man's profiler
# http://webcache.googleusercontent.com/search?q=cache:http://mituzas.lt/2009/02/15/poor-mans-contention-profiling/
nsamples=1
sleeptime=1
......@@ -13,10 +16,7 @@ while [ $# -gt 0 ] ; do
shift
done
# change the process name
pid=$*
# may need the cilk gdb
pid=$1
for x in $(seq 1 $nsamples)
do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment