21#include <sys/syslog.h>
38 Profiler(
char const * prefix,
size_t interval = 100,
int loglevel = LOG_INFO);
55 std::string
const itsPrefix;
56 size_t const itsInterval;
57 int const itsLogLevel;
59 std::chrono::time_point<std::chrono::steady_clock> itsStartTime;
68 std::chrono::time_point<std::chrono::steady_clock> lasttime;
72 std::vector<data> itsCheckpointData;
void stop()
End a time measurement period, report time spent for each checkpoint if reporting interval is reached...
void start()
Start a time measurement period.
void checkpoint(char const *description)
Note the time for a particular event.
Main namespace for all JeVois classes and functions.