PTLib  Version 2.18.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PProfiling::TimeScope::Measure Class Reference

Class used by PPROFILE_TIMESCOPE() macro to do the measurement of time between construction and destruction. More...

#include <object.h>

Collaboration diagram for PProfiling::TimeScope::Measure:

Public Member Functions

 Measure (TimeScope &scope, const PObject *object)
 
 Measure (TimeScope &scope, const void *context)
 
 ~Measure ()
 

Protected Attributes

TimeScopem_scope
 
const void *const m_context
 
const PObject *const m_object
 
uint64_t const m_startCycle
 

Detailed Description

Class used by PPROFILE_TIMESCOPE() macro to do the measurement of time between construction and destruction.

Constructor & Destructor Documentation

PProfiling::TimeScope::Measure::Measure ( TimeScope scope,
const PObject object 
)
inline
PProfiling::TimeScope::Measure::Measure ( TimeScope scope,
const void *  context 
)
inline
PProfiling::TimeScope::Measure::~Measure ( )
inline

Member Data Documentation

const void* const PProfiling::TimeScope::Measure::m_context
protected
const PObject* const PProfiling::TimeScope::Measure::m_object
protected
TimeScope& PProfiling::TimeScope::Measure::m_scope
protected
uint64_t const PProfiling::TimeScope::Measure::m_startCycle
protected

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