Kagome
Polkadot Runtime Engine in C++17
|
#include <profiler.hpp>
Public Member Functions | |
TicToc (const std::string &name, const kagome::log::Logger &log) | |
void | toc (int line=-1) |
~TicToc () | |
Private Attributes | |
std::string | name_ |
const kagome::log::Logger & | log_ |
std::chrono::time_point< std::chrono::high_resolution_clock > | t_ |
Definition at line 7 of file profiler.hpp.
|
inline |
Definition at line 13 of file profiler.hpp.
|
inline |
Definition at line 31 of file profiler.hpp.
|
inline |
Definition at line 18 of file profiler.hpp.
|
private |
Definition at line 9 of file profiler.hpp.
|
private |
Definition at line 8 of file profiler.hpp.
|
private |
Definition at line 10 of file profiler.hpp.