author | mickeyl <mickeyl> | 2004-02-27 19:39:59 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-02-27 19:39:59 (UTC) |
commit | e2b37546627e0959c14920d751275377b13739a5 (patch) (unidiff) | |
tree | b2bc189227928f93c5194348d39a48a29e4f7f05 /noncore/settings/sysinfo/benchmarkinfo.h | |
parent | 069a15dcec8054ce2d8436a2961bd05cf2fffcd5 (diff) | |
download | opie-e2b37546627e0959c14920d751275377b13739a5.zip opie-e2b37546627e0959c14920d751275377b13739a5.tar.gz opie-e2b37546627e0959c14920d751275377b13739a5.tar.bz2 |
the integer test now is the official dhrystone benchmark
that makes it easier to compare results
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 | |||
@@ -20,24 +20,25 @@ | |||
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; |