From 2cfa23d3040eb6c6911c85450cacfac4e104f4f4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 27 Sep 2015 20:26:05 +0300 Subject: Add script for run gprof. Also add temp files to .gitignore --- .gitignore | 2 ++ gprof.sh | 3 +++ 2 files changed, 5 insertions(+) create mode 100755 gprof.sh 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 -- cgit v1.2.3-70-g09d2