finalcut/scripts/profile.sh

12 lines
167 B
Bash
Executable File

#!/bin/bash
DIR="$PWD"
cd ../test/.libs/
LD_LIBRARY_PATH=../../src/.libs/ ./ui
gprof ./ui >./profile.txt
rm ./gmon.out
less ./profile.txt
rm ./profile.txt
cd "$DIR"