Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Namespaces
CTimeLogger.h File Reference
#include <mrpt/utils/CTicTac.h>
#include <mrpt/utils/COutputLogger.h>
#include <mrpt/utils/compiler_fixes.h>
#include <mrpt/utils/mrpt_macros.h>
#include <mrpt/utils/ts_hash_map.h>
#include <vector>
#include <stack>

Go to the source code of this file.

Classes

class  mrpt::utils::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::utils::CTimeLogger::TCallData
 Data of all the calls: More...
 
struct  mrpt::utils::CTimeLogger::TCallStats
 Data of each call section: # of calls, minimum, maximum, average and overall execution time (in seconds) More...
 
struct  mrpt::utils::CTimeLoggerEntry
 A safe way to call enter() and leave() of a mrpt::utils::CTimeLogger upon construction and destruction of this auxiliary object, making sure that leave() will be called upon exceptions, etc. More...
 

Namespaces

 mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::utils
 Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
 

Functions

Auxiliary stuff for the global profiler used in MRPT_START / MRPT_END

macros.

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



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019