24 /** A versatile "profiler" that logs the time spent within each pair of calls to enter(X)-leave(X), among other stats.
25 * The results can be dumped to cout or to Visual Studio's output panel.
26 * Recursive methods are supported with no problems, that is, calling "enter(X) enter(X) ... leave(X) leave(X)".
27 *
28 * This class can be also used to monitorize min/mean/max/total stats of any user-provided parameters via the method CTimeLogger::registerUserMeasure()
29 *
30 * \sa CTimeLoggerEntry
31 *
32 * \note The default behavior is dumping all the information at destruction.
67 std::string getStatsAsText(constsize_t column_width=80) const; //!< Dump all stats to a multi-line text string. \sa dumpAllStats, saveToCVSFile
68void getStats(std::map<std::string,TCallStats> &out_stats) const; //!< Returns all the current stats as a map: section_name => stats. \sa getStatsAsText, dumpAllStats, saveToCVSFile
69void dumpAllStats(constsize_t column_width=80) const; //!< Dump all stats through the CDebugOutputCapable interface. \sa getStatsAsText, saveToCVSFile
70void clear(bool deep_clear=false); //!< Resets all stats. By default (deep_clear=false), all section names are remembered (not freed) so the cost of creating upon the first next call is avoided.