werkzeugkiste/timing/tictoc.h file

Contents

Namespaces

namespace werkzeugkiste
namespace werkzeugkiste::timing
Stop watch & additional helpers on top of std::chrono.

Defines

#define TIC(...)
#define TOC_SEC(...)
#define TTOC_SEC(...)
#define TOC_MS(...)
#define TTOC_MS(...)
#define TOC_US(...)
#define TTOC_US(...)
#define TOC_NS(...)
#define TTOC_NS(...)

Define documentation

#define TIC(...)

Preprocessor macros to: a) easily use TIC/TOC by simply defining 'WITH_TICTOC' before including this header: #define WITH_TICTOC #include <werkzeugkiste/timing/tictoc.h> b) easily disable all call overheads (by simply defining NO_TICTOC before including tictoc.h)