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