Changeset 846 for trunk/src/testlib/qbenchmark.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/qbenchmark.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 44 44 45 45 #include <QtTest/qtest_global.h> 46 #include <QtTest/qbenchmarkmetric.h> 46 47 47 48 QT_BEGIN_HEADER … … 76 77 } 77 78 79 // --- BEGIN public API --- 80 78 81 #define QBENCHMARK \ 79 82 for (QTest::QBenchmarkIterationController __iteration_controller; \ … … 84 87 __iteration_controller.isDone() == false; __iteration_controller.next()) 85 88 89 namespace QTest 90 { 91 void Q_TESTLIB_EXPORT setBenchmarkResult(qreal result, QBenchmarkMetric metric); 92 } 93 94 // --- END public API --- 95 86 96 QT_END_NAMESPACE 87 97
Note:
See TracChangeset
for help on using the changeset viewer.