Changeset 846 for trunk/src/testlib/qbenchmarkmeasurement_p.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/testlib/qbenchmarkmeasurement_p.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 54 54 // 55 55 56 #include <QtCore/q datetime.h>56 #include <QtCore/q.h> 57 57 #include "3rdparty/cycle_p.h" 58 58 59 59 60 QT_BEGIN_NAMESPACE … … 72 73 virtual bool repeatCount() { return 1; } 73 74 virtual bool needsWarmupIteration() { return false; } 74 virtual QString unitText() = 0; 75 virtual QString metricText() = 0; 75 virtual QTest::QBenchmarkMetric metricType() = 0; 76 76 }; 77 77 … … 85 85 int adjustIterationCount(int sugestion); 86 86 int adjustMedianCount(int suggestion); 87 QString unitText();88 Q String metricText();87 (); 88 Q(); 89 89 private: 90 Q Timetime;90 Q time; 91 91 }; 92 92 … … 103 103 int adjustMedianCount(int suggestion); 104 104 bool needsWarmupIteration(); 105 QString unitText(); 106 QString metricText(); 105 QTest::QBenchmarkMetric metricType(); 107 106 private: 108 107 CycleCounterTicks startTicks;
Note:
See TracChangeset
for help on using the changeset viewer.