VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrf::DtProfileStat Struct Reference

represents an amount of "time", real time or instructions More...

Public Member Functions

 DtProfileStat ()
 default construct
void reset ()
 reset to default constructed state
double instructionsPerSecond () const
 instructions/time
DtProfileStatoperator+= (const DtProfileStat &)
 for accumulating stats
template<typename T >
DtProfileStat operator/ (const T &val) const
 for averaging

Public Attributes

DtUInt64 instructions
double time

Detailed Description

represents an amount of "time", real time or instructions

Constructor & Destructor Documentation

makVrf::DtProfileStat::DtProfileStat ( )

default construct

Member Function Documentation

void makVrf::DtProfileStat::reset ( )

reset to default constructed state

double makVrf::DtProfileStat::instructionsPerSecond ( ) const

instructions/time

DtProfileStat& makVrf::DtProfileStat::operator+= ( const DtProfileStat )

for accumulating stats

template<typename T >
DtProfileStat makVrf::DtProfileStat::operator/ ( const T &  val) const
inline

for averaging

References instructions, and time.

Member Data Documentation

DtUInt64 makVrf::DtProfileStat::instructions

Referenced by operator/().

double makVrf::DtProfileStat::time

Referenced by operator/().


The documentation for this struct was generated from the following file:

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)