Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Namespaces
system/CTimeLogger.h File Reference
#include <mrpt/system/CTicTac.h>
#include <mrpt/system/COutputLogger.h>
#include <mrpt/core/exceptions.h>
#include <mrpt/containers/ts_hash_map.h>
#include <vector>
#include <stack>
#include <map>
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.

Classes

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...
 

Namespaces

 mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::system
 This namespace provides a OS-independent interface to many useful functions: filenames manipulation, time and date, string parsing, file I/O, threading, memory allocation, etc.
 

Functions

Auxiliary stuff for the global profiler used in MRPT_START / MRPT_END

macros.

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 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019