projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0138e
)
Add --perf option to run script.
author
Carl Hetherington
<cth@carlh.net>
Mon, 2 Dec 2013 09:47:16 +0000
(09:47 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 2 Dec 2013 09:47:16 +0000
(09:47 +0000)
run/dcpomatic
patch
|
blob
|
history
diff --git
a/run/dcpomatic
b/run/dcpomatic
index d79266d3a1337db0b2c4d0b60c6e59c5fd791952..255417b3f8f62dc1e720a68f0e0a67093e01eae3 100755
(executable)
--- a/
run/dcpomatic
+++ b/
run/dcpomatic
@@
-12,7
+12,10
@@
elif [ "$1" == "--callgrind" ]; then
valgrind --tool="callgrind" build/src/tools/dcpomatic $*
elif [ "$1" == "--i18n" ]; then
shift
- LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 LC_ALL=fr_FR.UTF8 build/src/tools/dcpomatic "$*"
+ LANGUAGE=sv_SE.UTF8 LANG=sv_SE.UTF8 LC_ALL=sv_SE.UTF8 build/src/tools/dcpomatic "$*"
+elif [ "$1" == "--perf" ]; then
+ shift
+ perf record build/src/tools/dcpomatic $*
else
build/src/tools/dcpomatic $*
fi