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 @@ -15,33 +15,24 @@ ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** **********************************************************************/ #include <qwidget.h> #include <qdialog.h> class QClipboard; 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 public: BenchmarkInfo( QWidget *parent = 0, const char *name = 0, int wFlags = 0 ); ~BenchmarkInfo(); QCheckListItem* test_alu; QCheckListItem* test_fpu; QCheckListItem* test_txt; QCheckListItem* test_gfx; @@ -52,22 +43,21 @@ public: bool main_rd; bool main_wt; bool sd_rd; bool sd_wt; bool cf_rd; bool cf_wt; QClipboard* clb; 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& ); private slots: void run(); }; |