MRPT  2.0.2
Classes | Namespaces
system/CTimeLogger.h File Reference
#include <mrpt/containers/ts_hash_map.h>
#include <mrpt/core/exceptions.h>
#include <mrpt/system/COutputLogger.h>
#include <mrpt/system/CTicTac.h>
#include <deque>
#include <map>
#include <optional>
#include <stack>
#include <vector>
Include dependency graph for system/CTimeLogger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  mrpt::system::CTimeLogger
 A versatile "profiler" that logs the time spent within each pair of calls to enter(X)-leave(X), among other stats. More...
struct  mrpt::system::CTimeLogger::TCallData
 Data of all the calls: More...
struct  mrpt::system::CTimeLogger::TCallStats
 Data of each call section: # of calls, minimum, maximum, average and overall execution time (in seconds) More...
struct  mrpt::system::CTimeLoggerEntry
 A safe way to call enter() and leave() of a mrpt::system::CTimeLogger upon construction and destruction of this auxiliary object, making sure that leave() will be called upon exceptions, etc. More...
struct  mrpt::system::CTimeLoggerSaveAtDtor
 A helper class to save CSV stats upon self destruction, for example, at the end of a program run. More...




Auxiliary stuff for the global profiler used in MRPT_START / MRPT_END


void mrpt::system::global_profiler_enter (const char *func_name) noexcept
void mrpt::system::global_profiler_leave (const char *func_name) noexcept
mrpt::system::CTimeLoggermrpt::system::global_profiler_getref () noexcept

Page generated by Doxygen 1.8.14 for MRPT 2.0.2 Git: 9efc2a654 Mon Apr 6 11:24:47 2020 +0200 at lun abr 6 11:30:12 CEST 2020