Diffstat (limited to 'noncore/settings/sysinfo/benchmarkinfo.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/benchmarkinfo.h | 14 |
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 | ||
22 | class QClipboard; | 22 | class QClipboard; |
23 | class QCheckListItem; | 23 | class QCheckListItem; |
24 | class QPushButton; | 24 | class QPushButton; |
25 | class QListView; | 25 | class 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 | |||
36 | class BenchmarkInfo : public QWidget | 27 | class BenchmarkInfo : public QWidget |
37 | { | 28 | { |
38 | Q_OBJECT | 29 | Q_OBJECT |
39 | 30 | ||
40 | public: | 31 | public: |
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 | ||
70 | private slots: | 60 | private slots: |
71 | void run(); | 61 | void run(); |
72 | 62 | ||