OmniSciDB
a667adc9c8
|
#include <Logger.h>
Public Member Functions | |
DebugTimer (Severity, char const *file, int line, char const *name) | |
~DebugTimer () | |
void | stop () |
std::string | stopAndGetJson () |
Private Attributes | |
Duration * | duration_ |
logger::DebugTimer::DebugTimer | ( | Severity | severity, |
char const * | file, | ||
int | line, | ||
char const * | name | ||
) |
Definition at line 692 of file Logger.cpp.
logger::DebugTimer::~DebugTimer | ( | ) |
Definition at line 695 of file Logger.cpp.
References stop().
void logger::DebugTimer::stop | ( | ) |
Definition at line 699 of file Logger.cpp.
References duration_, logger::logAndEraseDurationTree(), and logger::Duration::stop().
Referenced by ~DebugTimer().
std::string logger::DebugTimer::stopAndGetJson | ( | ) |
Definition at line 708 of file Logger.cpp.
References duration_, json_str(), logger::logAndEraseDurationTree(), and logger::Duration::stop().
|
private |
Definition at line 296 of file Logger.h.
Referenced by stop(), and stopAndGetJson().