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
@@ -21,21 +21,12 @@
21 21
22class QClipboard; 22class QClipboard;
23class QCheckListItem; 23class 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
39 30
40public: 31public:
41 BenchmarkInfo( QWidget *parent = 0, const char *name = 0, int wFlags = 0 ); 32 BenchmarkInfo( QWidget *parent = 0, const char *name = 0, int wFlags = 0 );
@@ -58,15 +49,14 @@ public:
58 49
59 QClipboard* clb; 50 QClipboard* clb;
60 51
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
70private slots: 60private slots:
71 void run(); 61 void run();
72 62