VR-Forces 4.5 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 Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)