Loading...
Searching...
No Matches

#include <opencv2/v4d/detail/timetracker.hpp>

Public Member Functions

virtual ~TimeTracker ()
 
template<typename F >
void execute (const string &name, F const &func)
 
map< string, TimeInfo > & getMap ()
 
bool isEnabled ()
 
template<typename F >
size_t measure (F const &func)
 
void newCount ()
 
void print (ostream &os)
 
void reset ()
 
void setEnabled (bool e)
 

Static Public Member Functions

static void destroy ()
 
static TimeTrackergetInstance ()
 

Constructor & Destructor Documentation

◆ ~TimeTracker()

virtual TimeTracker::~TimeTracker ( )
virtual

Member Function Documentation

◆ destroy()

static void TimeTracker::destroy ( )
inlinestatic

◆ execute()

template<typename F >
void TimeTracker::execute ( const string &  name,
F const &  func 
)
inline

◆ getInstance()

static TimeTracker * TimeTracker::getInstance ( )
inlinestatic

◆ getMap()

map< string, TimeInfo > & TimeTracker::getMap ( )
inline

◆ isEnabled()

bool TimeTracker::isEnabled ( )
inline

◆ measure()

template<typename F >
size_t TimeTracker::measure ( F const &  func)
inline

◆ newCount()

void TimeTracker::newCount ( )
inline

◆ print()

void TimeTracker::print ( ostream &  os)
inline

◆ reset()

void TimeTracker::reset ( )
inline

◆ setEnabled()

void TimeTracker::setEnabled ( bool  e)
inline

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