finalcut/scripts/profile.sh

12 lines
183 B
Bash
Raw Normal View History

2015-05-23 13:35:12 +02:00
#!/bin/bash
DIR="$PWD"
2016-04-02 18:35:34 +02:00
cd ../test/.libs/ || exit
LD_LIBRARY_PATH=../../src/.libs/ ./ui
gprof ./ui >./profile.txt
2015-05-23 13:35:12 +02:00
rm ./gmon.out
less ./profile.txt
rm ./profile.txt
2016-04-02 18:35:34 +02:00
cd "$DIR" || exit