src/testlib/qbenchmarkvalgrind.cpp
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
   261 bool QBenchmarkCallgrindMeasurer::needsWarmupIteration()
   261 bool QBenchmarkCallgrindMeasurer::needsWarmupIteration()
   262 { 
   262 { 
   263     return true;
   263     return true;
   264 }
   264 }
   265 
   265 
   266 QString QBenchmarkCallgrindMeasurer::unitText()
   266 QTest::QBenchmarkMetric QBenchmarkCallgrindMeasurer::metricType()
   267 {
   267 {
   268     return QLatin1String("instr. loads");
   268     return QTest::InstructionReads;
   269 }
       
   270 
       
   271 QString QBenchmarkCallgrindMeasurer::metricText()
       
   272 {
       
   273     return QLatin1String("callgrind");
       
   274 }
   269 }
   275 
   270 
   276 QT_END_NAMESPACE
   271 QT_END_NAMESPACE
   277 
   272 
   278 #endif // QTESTLIB_USE_VALGRIND
   273 #endif // QTESTLIB_USE_VALGRIND