timer.hh File Reference
#include "boost/date_time/posix_time/posix_time_types.hpp"
#include <hpp/util/config.hh>
#include <hpp/util/debug.hh>
Include dependency graph for timer.hh:
This graph shows which files directly or indirectly include this file:

Classes

class  hpp::debug::Timer
 
class  hpp::debug::TimeCounter
 
struct  hpp::debug::TimeCounter::Scope
 

Namespaces

 hpp
 
 hpp::debug
 

Macros

#define hppStartBenchmark(ID)
 
#define hppStopBenchmark(ID)
 
#define hppDisplayBenchmark(ID)
 
#define hppBenchmark(data)
 
#define HPP_DEFINE_TIMECOUNTER(name)   struct _##name##_EndWithSemiColon_{}
 
#define HPP_SCOPE_TIMECOUNTER(name)
 
#define HPP_START_TIMECOUNTER(name)
 
#define HPP_STOP_TIMECOUNTER(name)
 
#define HPP_DISPLAY_LAST_TIMECOUNTER(name)
 
#define HPP_DISPLAY_TIMECOUNTER(name)
 
#define HPP_RESET_TIMECOUNTER(name)
 
#define HPP_STREAM_TIMECOUNTER(os, name)   os
 
#define HPP_STOP_AND_DISPLAY_TIMECOUNTER(name)
 

Functions

std::ostream & hpp::debug::operator<< (std::ostream &os, const TimeCounter &tc)
 

Macro Definition Documentation

◆ HPP_DEFINE_TIMECOUNTER

#define HPP_DEFINE_TIMECOUNTER (   name)    struct _##name##_EndWithSemiColon_{}

◆ HPP_DISPLAY_LAST_TIMECOUNTER

#define HPP_DISPLAY_LAST_TIMECOUNTER (   name)

◆ HPP_DISPLAY_TIMECOUNTER

#define HPP_DISPLAY_TIMECOUNTER (   name)

◆ HPP_RESET_TIMECOUNTER

#define HPP_RESET_TIMECOUNTER (   name)

◆ HPP_SCOPE_TIMECOUNTER

#define HPP_SCOPE_TIMECOUNTER (   name)

◆ HPP_START_TIMECOUNTER

#define HPP_START_TIMECOUNTER (   name)

◆ HPP_STOP_AND_DISPLAY_TIMECOUNTER

#define HPP_STOP_AND_DISPLAY_TIMECOUNTER (   name)
Value:
HPP_DISPLAY_TIMECOUNTER(name)
#define HPP_STOP_TIMECOUNTER(name)
Definition: timer.hh:165

◆ HPP_STOP_TIMECOUNTER

#define HPP_STOP_TIMECOUNTER (   name)

◆ HPP_STREAM_TIMECOUNTER

#define HPP_STREAM_TIMECOUNTER (   os,
  name 
)    os

◆ hppBenchmark

#define hppBenchmark (   data)

◆ hppDisplayBenchmark

#define hppDisplayBenchmark (   ID)

◆ hppStartBenchmark

#define hppStartBenchmark (   ID)

◆ hppStopBenchmark

#define hppStopBenchmark (   ID)