finalcut/scripts/profile.sh

12 lines
185 B
Bash
Raw Normal View History

#!/bin/sh
2015-05-23 13:35:12 +02:00
DIR="$PWD"
cd ../examples/.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