diff options
Diffstat (limited to 'tests/workloads/systemapps.sh')
-rwxr-xr-x | tests/workloads/systemapps.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/workloads/systemapps.sh b/tests/workloads/systemapps.sh index 0978dbd9..a263e7d2 100755 --- a/tests/workloads/systemapps.sh +++ b/tests/workloads/systemapps.sh @@ -210,9 +210,10 @@ do else stopAndDumpInstramentation $tmpTraceOut actName=$(getActivityName $app) + pkgName=$(getPackageName $app) stime=$(getStartTime $actName $tmpTraceOut) relaunch=$? - etime=$(getEndTime $actName $tmpTraceOut) + etime=$(getEndTime $pkgName $tmpTraceOut) ((tdiff=$etime-$stime)) if [ $etime -eq 0 -o $stime -eq 0 ]; then handleError $app : could not compute start time stime=$stime etime=$etime |