summaryrefslogtreecommitdiff
path: root/makegprof
diff options
context:
space:
mode:
Diffstat (limited to 'makegprof')
-rwxr-xr-xmakegprof5
1 files changed, 5 insertions, 0 deletions
diff --git a/makegprof b/makegprof
new file mode 100755
index 000000000..8cb63744c
--- /dev/null
+++ b/makegprof
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mv run/gmon.out .
+gprof run/bin/manaplus >gprof.txt
+cat gprof.txt | gprof2dot.py | dot -Tpng -o gprof.png