#include "boost/date_time/posix_time/posix_time_types.hpp"
#include <boost/date_time/posix_time/posix_time.hpp>
#include <hpp/util/config.hh>
#include <hpp/util/debug.hh>
Go to the source code of this file.
◆ HPP_STOP_AND_DISPLAY_TIMECOUNTER
#define HPP_STOP_AND_DISPLAY_TIMECOUNTER |
( |
|
name | ) |
|
Value: HPP_DISPLAY_TIMECOUNTER(name)
#define HPP_STOP_TIMECOUNTER(name)
Stop a watch and save elapsed time.
Definition: timer.hh:144
◆ hppBenchmark
#define hppBenchmark |
( |
|
data | ) |
|
Value:do { \
using namespace ::hpp::debug; \
std::stringstream __ss; \
logging.benchmark.write (__FILE__, __LINE__, __PRETTY_FUNCTION__, \
__ss); \
} while (0)
Definition: assertion.hh:24
HPP_UTIL_DLLAPI std::ostream & iendl(std::ostream &o)
Print an end of line, then set the indentation.
Definition: indent.cc:54
◆ hppDisplayBenchmark
#define hppDisplayBenchmark |
( |
|
ID | ) |
hppDout (benchmark, #ID << ": "<< _##ID##_timer_.duration ()); |
◆ hppStartBenchmark
#define hppStartBenchmark |
( |
|
ID | ) |
|
Value:hppDout (benchmark, #ID <<
": start"); \
#define hppDout(channel, data)
Write data to channel when HPP_DEBUG is defined.
Definition: debug.hh:260
◆ hppStopBenchmark
#define hppStopBenchmark |
( |
|
ID | ) |
|
Value:do { \
_##ID##_timer_.stop (); \
hppDout (benchmark, #ID << ": stop"); \
} while (0)