Commit 9dad051f authored by Rich Prohaska's avatar Rich Prohaska

cleanup pmprof a bit

parent d37a7bee
#!/bin/bash #!/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 nsamples=1
sleeptime=1 sleeptime=1
...@@ -13,10 +16,7 @@ while [ $# -gt 0 ] ; do ...@@ -13,10 +16,7 @@ while [ $# -gt 0 ] ; do
shift shift
done done
# change the process name pid=$1
pid=$*
# may need the cilk gdb
for x in $(seq 1 $nsamples) for x in $(seq 1 $nsamples)
do 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