Skip to content
Snippets Groups Projects

New cvmf srpm

Merged Domenico Giordano requested to merge newCVMFSrpm into building
11 files
+ 66
58
Compare changes
  • Side-by-side
  • Inline
Files
11
#!/bin/bash
function doOne(){
[ $DEBUG -gt 0 ] && echo "`date` : start process $i";
@@ -25,6 +22,7 @@ function doOne(){
function parseResults(){
STATUS=0
echo "Parsing results from " $BASE_WDIR/proc_*/time.useronly
#Parsing Event Throughput: xxxx ev/s
@@ -37,10 +35,12 @@ function parseResults(){
} else {
median=(a[(n / 2)] + a[(n / 2) + 1]) / 2.0;
}; printf "{\"score\": %.4f, \"avg\": %.4f, \"median\": %.4f, \"min\": %.4f, \"max\": %.4f}", sum, sum/count, median, amin, amax
}' || echo "\"[ERROR] Something went wrong in parsing the CPU score\""`
}' || (STATUS=1; echo "\"[ERROR] Something went wrong in parsing the CPU score\"")`
echo -e "{\"copies\":$ncopies , \"threads_x_copy\":$NTHREADS , \"events_x_thread\" : $nevents , \"CPU_score\": $res , \"app\": \"ALICE_pp_dpgsim\"}" > $BASE_WDIR/${APP}_summary.json
cat $BASE_WDIR/${APP}_summary.json
return $STATUS
}
export APP=`basename $0 -bmk.sh`
@@ -114,3 +114,4 @@ done
[ $DEBUG -gt 0 ] && echo "FAILS " $FAIL
parseResults
exit $?
Loading