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

TestItem Class Reference

Collaboration diagram for TestItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TestItem (const QString &d, int it)
void begin ()
void end ()
QString report () const
int iterations () const
int elapsed () const

Private Attributes

int msecs
QString desc
int iter
QTime timeKeeper

Constructor & Destructor Documentation

TestItem::TestItem const QString d,
int  it
[inline]
 

Definition at line 17 of file performancetest.cpp.


Member Function Documentation

void TestItem::begin  )  [inline]
 

Definition at line 21 of file performancetest.cpp.

References QTime::start(), and timeKeeper.

Referenced by alphaBlt(), bitBlt(), drawText(), and fillRect().

int TestItem::elapsed  )  const [inline]
 

Definition at line 38 of file performancetest.cpp.

References msecs.

Referenced by PerformanceTest::doTest().

void TestItem::end  )  [inline]
 

Definition at line 26 of file performancetest.cpp.

References QTime::elapsed(), msecs, and timeKeeper.

Referenced by alphaBlt(), bitBlt(), drawText(), and fillRect().

int TestItem::iterations  )  const [inline]
 

Definition at line 37 of file performancetest.cpp.

References iter.

QString TestItem::report  )  const [inline]
 

Definition at line 31 of file performancetest.cpp.

References QString::arg(), desc, iter, and msecs.

Referenced by PerformanceTest::doTest().


Member Data Documentation

QString TestItem::desc [private]
 

Definition at line 42 of file performancetest.cpp.

Referenced by report().

int TestItem::iter [private]
 

Definition at line 43 of file performancetest.cpp.

Referenced by iterations(), and report().

int TestItem::msecs [private]
 

Definition at line 41 of file performancetest.cpp.

Referenced by elapsed(), end(), and report().

QTime TestItem::timeKeeper [private]
 

Definition at line 44 of file performancetest.cpp.

Referenced by begin(), and end().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:53:36 2005 for OPIE by  doxygen 1.4.2