![]() |
LatticeHashForest
|
Utility class for enabling code-based profiling. More...
#include <profiling.hpp>
Classes | |
struct | Duration |
Public Types | |
using | Count = uint64_t |
using | String = std::string |
using | TimePoint = std::chrono::steady_clock::time_point |
template<typename K , typename V > | |
using | Map = std::map< K, V > |
Public Member Functions | |
Duration & | get_timer (const String &s) |
void | timer_start (const String &s) |
void | timer_end (const String &s) |
Count & | get_counter (const String &s) |
void | inc_counter (const String &s) |
String | dump () const |
Public Attributes | |
Map< String, Count > | counters |
Map< String, Duration > | timers |
Utility class for enabling code-based profiling.
Definition at line 22 of file profiling.hpp.
using lhf::PerformanceStatistics::Count = uint64_t |
Definition at line 23 of file profiling.hpp.
using lhf::PerformanceStatistics::Map = std::map<K, V> |
Definition at line 26 of file profiling.hpp.
using lhf::PerformanceStatistics::String = std::string |
Definition at line 24 of file profiling.hpp.
using lhf::PerformanceStatistics::TimePoint = std::chrono::steady_clock::time_point |
Definition at line 25 of file profiling.hpp.
|
inline |
Definition at line 87 of file profiling.hpp.
Referenced by lhf::LatticeHashForest< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter, Nesting >::dump_perf().
Definition at line 75 of file profiling.hpp.
Referenced by inc_counter().
Definition at line 50 of file profiling.hpp.
Referenced by timer_end(), and timer_start().
|
inline |
Definition at line 83 of file profiling.hpp.
|
inline |
Definition at line 65 of file profiling.hpp.
Referenced by lhf::__CalcTime::~__CalcTime().
|
inline |
Definition at line 58 of file profiling.hpp.
Referenced by lhf::__CalcTime::__CalcTime().
Definition at line 45 of file profiling.hpp.
Referenced by dump(), and get_counter().
Definition at line 46 of file profiling.hpp.
Referenced by dump(), and get_timer().