Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

BenchmarkInfo Class Reference

#include </home/clem/local/src/opie/noncore/settings/sysinfo/benchmarkinfo.h>

Collaboration diagram for BenchmarkInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BenchmarkInfo (QWidget *parent=0, const char *name=0, int wFlags=0)
 ~BenchmarkInfo ()
int textRendering (int)
int gfxRendering (int)
void performFileTest (const QString &fname, Opie::Ui::OCheckListItem *item)

Public Attributes

Opie::Ui::OCheckListItemtest_alu
Opie::Ui::OCheckListItemtest_fpu
Opie::Ui::OCheckListItemtest_txt
Opie::Ui::OCheckListItemtest_gfx
Opie::Ui::OCheckListItemtest_ram
Opie::Ui::OCheckListItemtest_sd
Opie::Ui::OCheckListItemtest_cf
bool main_rd
bool main_wt
bool sd_rd
bool sd_wt
bool cf_rd
bool cf_wt
QClipboard * clb
QComboBox * machineCombo
Opie::Ui::OListViewtests
QPushButton * startButton
QDict< QStringListmachines

Private Slots

void run ()
void machineActivated (int)

Constructor & Destructor Documentation

BenchmarkInfo::BenchmarkInfo QWidget *  parent = 0,
const char *  name = 0,
int  wFlags = 0
 

Definition at line 89 of file benchmarkinfo.cpp.

References add, Opie::Ui::OListView::addColumn(), QTextStream::eof(), f, QDict< type >::insert(), IO_ReadOnly, machineActivated(), machineCombo, machines, odebug, oendl, QFile::open(), QPEApplication::qpeDir(), QTextStream::readLine(), run(), QStringList::split(), startButton, test_alu, test_cf, test_fpu, test_gfx, test_ram, test_sd, test_txt, tests, and tr.

BenchmarkInfo::~BenchmarkInfo  ) 
 

Definition at line 166 of file benchmarkinfo.cpp.


Member Function Documentation

int BenchmarkInfo::gfxRendering int   ) 
 

Definition at line 282 of file benchmarkinfo.cpp.

References QTime::elapsed(), Opie::Core::OResource::loadPixmap(), NULL, p, BenchmarkPaintWidget::p, QTime::restart(), QTime::start(), and t.

Referenced by run().

void BenchmarkInfo::machineActivated int   )  [private, slot]
 

Definition at line 170 of file benchmarkinfo.cpp.

References QValueList< T >::begin(), machineCombo, machines, odebug, oendl, test_alu, test_cf, test_fpu, test_gfx, test_ram, test_sd, and test_txt.

Referenced by BenchmarkInfo().

void BenchmarkInfo::performFileTest const QString fname,
Opie::Ui::OCheckListItem item
 

Referenced by run().

void BenchmarkInfo::run  )  [private, slot]
 

Definition at line 191 of file benchmarkinfo.cpp.

References BenchFFT(), Opie::Core::OStorageInfo::cfPath(), d, dhry_main(), DHRYSTONE_RUNS, QTime::elapsed(), gfxRendering(), performFileTest(), qApp, Opie::Core::OStorageInfo::sdPath(), QTime::start(), startButton, t, test_alu, test_cf, TEST_DURATION, test_fpu, test_gfx, test_ram, test_sd, test_txt, textRendering(), and tr.

Referenced by BenchmarkInfo().

int BenchmarkInfo::textRendering int   ) 
 

Definition at line 249 of file benchmarkinfo.cpp.

References QTime::elapsed(), QString::length(), NULL, BenchmarkPaintWidget::p, s, QTime::start(), t, and text.

Referenced by run().


Member Data Documentation

bool BenchmarkInfo::cf_rd
 

Definition at line 53 of file benchmarkinfo.h.

bool BenchmarkInfo::cf_wt
 

Definition at line 54 of file benchmarkinfo.h.

QClipboard* BenchmarkInfo::clb
 

Definition at line 57 of file benchmarkinfo.h.

QComboBox* BenchmarkInfo::machineCombo
 

Definition at line 58 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), and machineActivated().

QDict<QStringList> BenchmarkInfo::machines
 

Definition at line 61 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), and machineActivated().

bool BenchmarkInfo::main_rd
 

Definition at line 48 of file benchmarkinfo.h.

bool BenchmarkInfo::main_wt
 

Definition at line 49 of file benchmarkinfo.h.

bool BenchmarkInfo::sd_rd
 

Definition at line 51 of file benchmarkinfo.h.

bool BenchmarkInfo::sd_wt
 

Definition at line 52 of file benchmarkinfo.h.

QPushButton* BenchmarkInfo::startButton
 

Definition at line 60 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), and run().

Opie::Ui::OCheckListItem* BenchmarkInfo::test_alu
 

Definition at line 38 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), machineActivated(), and run().

Opie::Ui::OCheckListItem* BenchmarkInfo::test_cf
 

Definition at line 45 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), machineActivated(), and run().

Opie::Ui::OCheckListItem* BenchmarkInfo::test_fpu
 

Definition at line 39 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), machineActivated(), and run().

Opie::Ui::OCheckListItem* BenchmarkInfo::test_gfx
 

Definition at line 41 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), machineActivated(), and run().

Opie::Ui::OCheckListItem* BenchmarkInfo::test_ram
 

Definition at line 42 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), machineActivated(), and run().

Opie::Ui::OCheckListItem* BenchmarkInfo::test_sd
 

Definition at line 44 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), machineActivated(), and run().

Opie::Ui::OCheckListItem* BenchmarkInfo::test_txt
 

Definition at line 40 of file benchmarkinfo.h.

Referenced by BenchmarkInfo(), machineActivated(), and run().

Opie::Ui::OListView* BenchmarkInfo::tests
 

Definition at line 59 of file benchmarkinfo.h.

Referenced by BenchmarkInfo().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:27:09 2005 for OPIE by  doxygen 1.4.2