OmniSciDB
cde582ebc3
|
#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 763 of file Logger.cpp.
References nvtx_helpers::kDebugTimer, and nvtx_helpers::omnisci_range_push().
logger::DebugTimer::~DebugTimer | ( | ) |
Definition at line 768 of file Logger.cpp.
References nvtx_helpers::omnisci_range_pop(), and stop().
|
privatedelete |
|
privatedelete |
void logger::DebugTimer::stop | ( | ) |
Definition at line 773 of file Logger.cpp.
References duration_, logger::logAndEraseDurationTree(), and logger::Duration::stop().
Referenced by ~DebugTimer().
std::string logger::DebugTimer::stopAndGetJson | ( | ) |
Definition at line 782 of file Logger.cpp.
References duration_, json_str(), logger::logAndEraseDurationTree(), and logger::Duration::stop().
|
private |
Definition at line 321 of file Logger.h.
Referenced by stop(), and stopAndGetJson().