summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/benchmarkinfo.h
Unidiff
Diffstat (limited to 'noncore/settings/sysinfo/benchmarkinfo.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/benchmarkinfo.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.h b/noncore/settings/sysinfo/benchmarkinfo.h
index 2d994b4..55398eb 100644
--- a/noncore/settings/sysinfo/benchmarkinfo.h
+++ b/noncore/settings/sysinfo/benchmarkinfo.h
@@ -24,15 +24,6 @@ class QCheckListItem;
24class QPushButton; 24class QPushButton;
25class QListView; 25class QListView;
26 26
27//#define INT_TEST_ITERATIONS 50
28//#define CHAR_TEST_ITERATIONS 15000
29//#define DRAW_TEST_ITERATIONS 5000
30
31#define INT_TEST_ITERATIONS 50
32#define DHRYSTONE_RUNS 20000000
33#define CHAR_TEST_ITERATIONS 15000
34#define DRAW_TEST_ITERATIONS 5000
35
36class BenchmarkInfo : public QWidget 27class BenchmarkInfo : public QWidget
37{ 28{
38 Q_OBJECT 29 Q_OBJECT
@@ -61,9 +52,8 @@ public:
61 QListView* tests; 52 QListView* tests;
62 QPushButton* startButton; 53 QPushButton* startButton;
63 54
64 void benchInteger() const; 55 int textRendering( int );
65 void paintChar(); 56 int gfxRendering( int );
66 void paintLineRect();
67 bool writeFile( const QString& ); 57 bool writeFile( const QString& );
68 bool readFile( const QString& ); 58 bool readFile( const QString& );
69 59