OmniSciDB
a5dc49c757
|
#include <Logger.h>
Public Member Functions | |
DebugTimer (Severity, char const *file, int line, char const *name) | |
~DebugTimer () | |
void | stop () |
std::string | stopAndGetJson () |
Private Member Functions | |
DebugTimer (DebugTimer const &)=delete | |
DebugTimer (DebugTimer &&)=delete | |
DebugTimer & | operator= (DebugTimer const &)=delete |
DebugTimer & | operator= (DebugTimer &&)=delete |
Private Attributes | |
Duration * | duration_ |
|
privatedelete |
|
privatedelete |
logger::DebugTimer::DebugTimer | ( | Severity | severity, |
char const * | file, | ||
int | line, | ||
char const * | name | ||
) |
Definition at line 830 of file Logger.cpp.
References parse_ast::line.
logger::DebugTimer::~DebugTimer | ( | ) |
Definition at line 835 of file Logger.cpp.
References nvtx_helpers::omnisci_range_pop(), and stop().
|
privatedelete |
|
privatedelete |
void logger::DebugTimer::stop | ( | ) |
Definition at line 840 of file Logger.cpp.
References duration_, and logger::logAndEraseDurationTree().
Referenced by ~DebugTimer().
std::string logger::DebugTimer::stopAndGetJson | ( | ) |
Definition at line 849 of file Logger.cpp.
References duration_, json_str(), and logger::logAndEraseDurationTree().
|
private |
Definition at line 393 of file Logger.h.
Referenced by stop(), and stopAndGetJson().