summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/benchmarkinfo.h
authormickeyl <mickeyl>2004-02-27 21:02:29 (UTC)
committer mickeyl <mickeyl>2004-02-27 21:02:29 (UTC)
commita7f2e72eeb595c8f68d5af963ed6e00a4c3a4fe3 (patch) (side-by-side diff)
tree8b30c59362edb898e425ef7d6f9ee717d20c3e1e /noncore/settings/sysinfo/benchmarkinfo.h
parenta43a2e70536e9a47c0fee542c2c1ad5cc027fff4 (diff)
downloadopie-a7f2e72eeb595c8f68d5af963ed6e00a4c3a4fe3.zip
opie-a7f2e72eeb595c8f68d5af963ed6e00a4c3a4fe3.tar.gz
opie-a7f2e72eeb595c8f68d5af963ed6e00a4c3a4fe3.tar.bz2
convert text and gfx tests to using a fixed time of seconds. that makes
results more comparable between a broad range of machines
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;
class QPushButton;
class QListView;
-//#define INT_TEST_ITERATIONS 50
-//#define CHAR_TEST_ITERATIONS 15000
-//#define DRAW_TEST_ITERATIONS 5000
-
-#define INT_TEST_ITERATIONS 50
-#define DHRYSTONE_RUNS 20000000
-#define CHAR_TEST_ITERATIONS 15000
-#define DRAW_TEST_ITERATIONS 5000
-
class BenchmarkInfo : public QWidget
{
Q_OBJECT
@@ -61,9 +52,8 @@ public:
QListView* tests;
QPushButton* startButton;
- void benchInteger() const;
- void paintChar();
- void paintLineRect();
+ int textRendering( int );
+ int gfxRendering( int );
bool writeFile( const QString& );
bool readFile( const QString& );