Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Utilities/Scripts/timing_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,16 @@ outfile=$fdsbase.out
cpufile=${fdsbase}_cpu.csv
cd $dir
if ! [ -e $outfile ]; then
exit
outfile=${fdsbase}_cat.out
if ! [ -e $outfile ]; then
exit
fi
fi
if ! [ -e $cpufile ]; then
exit
cpufile=${fdsbase}_cat_cpu.csv
if ! [ -e $cpufile ]; then
exit
fi
fi
# Grep for wall clock time
WALL_CLOCK_TIME_VALUE=`grep -H "Total Elapsed Wall Clock Time (s):" "$outfile" | awk -F' ' '{print $(NF)}'`
Expand Down