libqi-api  2.1.4.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
qi::MethodStatistics Class Reference

Store statistics about method calls. More...

#include <stats.hpp>

Public Member Functions

 MethodStatistics ()
 
 MethodStatistics (unsigned count, MinMaxSum wall, MinMaxSum user, MinMaxSum system)
 
void push (float wall, float user, float system)
 
const MinMaxSumwall () const
 
const MinMaxSumuser () const
 
const MinMaxSumsystem () const
 
const unsigned int & count () const
 
void reset ()
 

Detailed Description

Store statistics about method calls.

Definition at line 55 of file stats.hpp.

Constructor & Destructor Documentation

qi::MethodStatistics::MethodStatistics ( )
inline

Definition at line 58 of file stats.hpp.

qi::MethodStatistics::MethodStatistics ( unsigned  count,
MinMaxSum  wall,
MinMaxSum  user,
MinMaxSum  system 
)
inline

Definition at line 60 of file stats.hpp.

Member Function Documentation

const unsigned int& qi::MethodStatistics::count ( ) const
inline

Definition at line 73 of file stats.hpp.

void qi::MethodStatistics::push ( float  wall,
float  user,
float  system 
)
inline

Definition at line 63 of file stats.hpp.

void qi::MethodStatistics::reset ( )
inline

Definition at line 74 of file stats.hpp.

const MinMaxSum& qi::MethodStatistics::system ( ) const
inline

Definition at line 72 of file stats.hpp.

const MinMaxSum& qi::MethodStatistics::user ( ) const
inline

Definition at line 71 of file stats.hpp.

const MinMaxSum& qi::MethodStatistics::wall ( ) const
inline

Definition at line 70 of file stats.hpp.


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