summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xgprof.sh3
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 32ea3e37..77b13df2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -115,3 +115,5 @@ Thumbs.db
*.txt~
*.conf~
*.py~
+/gmon.out
+/gprof_*
diff --git a/gprof.sh b/gprof.sh
new file mode 100755
index 00000000..be6c9d03
--- /dev/null
+++ b/gprof.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+gprof --inline-file-names ./${1} >gprof_${1}.txt