aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/grindem.sh
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 22:41:02 +1000
committerDavid Walter Seikel2016-03-28 22:41:02 +1000
commitc3e59bf1f8f911dc04bd714a19eeeec4d452a356 (patch)
tree2ef5eccda71cfc352d4b05d618b9b6f69dad16e2 /grindem.sh
parentUpdate .gitignore to match last commit. (diff)
downloadSledjHamr-c3e59bf1f8f911dc04bd714a19eeeec4d452a356.zip
SledjHamr-c3e59bf1f8f911dc04bd714a19eeeec4d452a356.tar.gz
SledjHamr-c3e59bf1f8f911dc04bd714a19eeeec4d452a356.tar.bz2
SledjHamr-c3e59bf1f8f911dc04bd714a19eeeec4d452a356.tar.xz
Move some scripts to the bin directory.
Diffstat (limited to 'grindem.sh')
-rwxr-xr-xgrindem.sh40
1 files changed, 0 insertions, 40 deletions
diff --git a/grindem.sh b/grindem.sh
deleted file mode 100755
index 96edc5d..0000000
--- a/grindem.sh
+++ /dev/null
@@ -1,40 +0,0 @@
1#!/bin/bash
2
3# Memory checker, and the default tool.
4# --tool=memcheck --leak-check=full
5# --track-origins=yes
6
7# Cache and branch prediction profiler, analyse speed issues.
8# --tool=cachegrind
9# --branch-sim=yes
10
11# Heap profiler, check memory sizes.
12# --tool=massif
13
14# Heap profiler.
15# --tool=dhat
16
17# "Call-graph generating cache profiler", complements cachegrind.
18# --tool=callgrind
19
20# Thread error detector.
21# --tool=helgrind
22
23# Thread error detector.
24# --tool=drd
25
26# "experimental tool that can detect overruns of stack and global arrays"
27# --tool=sgcheck
28
29tool="memcheck"
30#tool="helgrind"
31#tool="drd"
32#extra=""
33extra="--leak-check=full"
34
35valgrind --tool=$tool --time-stamp=yes --log-file=valgrind_LuaSL.log $extra ./LuaSL &
36sleep 3
37valgrind --tool=$tool --time-stamp=yes --log-file=valgrind_love.log $extra ./love &
38sleep 3
39valgrind --tool=$tool --time-stamp=yes --log-file=valgrind_extantz.log $extra ./extantz
40