Diffstat (limited to 'noncore/settings/sysinfo/benchmarkinfo.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/benchmarkinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.h b/noncore/settings/sysinfo/benchmarkinfo.h index 2c7fa40..2d994b4 100644 --- a/noncore/settings/sysinfo/benchmarkinfo.h +++ b/noncore/settings/sysinfo/benchmarkinfo.h | |||
@@ -8,48 +8,49 @@ | |||
8 | ** | 8 | ** |
9 | ** This file may be distributed and/or modified under the terms of the | 9 | ** This file may be distributed and/or modified under the terms of the |
10 | ** GNU General Public License version 2 as published by the Free Software | 10 | ** GNU General Public License version 2 as published by the Free Software |
11 | ** Foundation and appearing in the file LICENSE.GPL included in the | 11 | ** Foundation and appearing in the file LICENSE.GPL included in the |
12 | ** packaging of this file. | 12 | ** packaging of this file. |
13 | ** | 13 | ** |
14 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 14 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
15 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 15 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
16 | ** | 16 | ** |
17 | **********************************************************************/ | 17 | **********************************************************************/ |
18 | 18 | ||
19 | #include <qwidget.h> | 19 | #include <qwidget.h> |
20 | #include <qdialog.h> | 20 | #include <qdialog.h> |
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 | 27 | //#define INT_TEST_ITERATIONS 50 |
28 | //#define CHAR_TEST_ITERATIONS 15000 | 28 | //#define CHAR_TEST_ITERATIONS 15000 |
29 | //#define DRAW_TEST_ITERATIONS 5000 | 29 | //#define DRAW_TEST_ITERATIONS 5000 |
30 | 30 | ||
31 | #define INT_TEST_ITERATIONS 50 | 31 | #define INT_TEST_ITERATIONS 50 |
32 | #define DHRYSTONE_RUNS 20000000 | ||
32 | #define CHAR_TEST_ITERATIONS 15000 | 33 | #define CHAR_TEST_ITERATIONS 15000 |
33 | #define DRAW_TEST_ITERATIONS 5000 | 34 | #define DRAW_TEST_ITERATIONS 5000 |
34 | 35 | ||
35 | class BenchmarkInfo : public QWidget | 36 | class BenchmarkInfo : public QWidget |
36 | { | 37 | { |
37 | Q_OBJECT | 38 | Q_OBJECT |
38 | 39 | ||
39 | public: | 40 | public: |
40 | BenchmarkInfo( QWidget *parent = 0, const char *name = 0, int wFlags = 0 ); | 41 | BenchmarkInfo( QWidget *parent = 0, const char *name = 0, int wFlags = 0 ); |
41 | ~BenchmarkInfo(); | 42 | ~BenchmarkInfo(); |
42 | 43 | ||
43 | QCheckListItem* test_alu; | 44 | QCheckListItem* test_alu; |
44 | QCheckListItem* test_fpu; | 45 | QCheckListItem* test_fpu; |
45 | QCheckListItem* test_txt; | 46 | QCheckListItem* test_txt; |
46 | QCheckListItem* test_gfx; | 47 | QCheckListItem* test_gfx; |
47 | QCheckListItem* test_ram; | 48 | QCheckListItem* test_ram; |
48 | QCheckListItem* test_sd; | 49 | QCheckListItem* test_sd; |
49 | QCheckListItem* test_cf; | 50 | QCheckListItem* test_cf; |
50 | 51 | ||
51 | bool main_rd; | 52 | bool main_rd; |
52 | bool main_wt; | 53 | bool main_wt; |
53 | bool sd_rd; | 54 | bool sd_rd; |
54 | bool sd_wt; | 55 | bool sd_wt; |
55 | bool cf_rd; | 56 | bool cf_rd; |