Chromium Code Reviews| Index: bench/TimerData.cpp |
| =================================================================== |
| --- bench/TimerData.cpp (revision 12705) |
| +++ bench/TimerData.cpp (working copy) |
| @@ -73,11 +73,11 @@ |
| for (int i = 0; i < numTimings; ++i) { |
| if (kPerIter_Result == result) { |
|
robertphillips
2013/12/17 16:20:54
This is modeled on what is done for kMin_Result be
|
| - wallStr.appendf(doubleFormat, fWallTimes[i]); |
| - truncWallStr.appendf(doubleFormat, fTruncatedWallTimes[i]); |
| - cpuStr.appendf(doubleFormat, fCpuTimes[i]); |
| - truncCpuStr.appendf(doubleFormat, fTruncatedCpuTimes[i]); |
| - gpuStr.appendf(doubleFormat, fGpuTimes[i]); |
| + wallStr.appendf(doubleFormat, fWallTimes[i] / itersPerTiming); |
| + truncWallStr.appendf(doubleFormat, fTruncatedWallTimes[i] / itersPerTiming); |
| + cpuStr.appendf(doubleFormat, fCpuTimes[i] / itersPerTiming); |
| + truncCpuStr.appendf(doubleFormat, fTruncatedCpuTimes[i] / itersPerTiming); |
| + gpuStr.appendf(doubleFormat, fGpuTimes[i] / itersPerTiming); |
| if (i != numTimings - 1) { |
| static const char kSep[] = ", "; |