fw4spl
fwCore::fwProfileFrameTimer Class Reference

This class holds a timer. It allows to compute the elapsed time between two profiling scopes. More...

#include <Profiling.hpp>

+ Collaboration diagram for fwCore::fwProfileFrameTimer:

Public Member Functions

 fwProfileFrameTimer (double interval)
 
bool tick ()
 
bool tick (::fwCore::HiResClock::HiResClockType time)
 
void reset ()
 

Public Attributes

::fwCore::HiResTimer m_timer
 Timer.
 
double m_interval
 Timer label.
 
double m_average
 Actual elapsed time average.
 
unsigned int m_count
 Number of calls, used to compute the average.
 

Detailed Description

This class holds a timer. It allows to compute the elapsed time between two profiling scopes.

Definition at line 48 of file Profiling.hpp.


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