OmniSciDB
a5dc49c757
|
Public Member Functions | |
JsonEncoder () | |
rapidjson::Value | operator() (Duration const &duration) |
rapidjson::Value | operator() (DurationTree const &duration_tree) |
rapidjson::Value | childNodes (int const parent_depth) |
rapidjson::Value | timer (DurationTreeMap::const_reference kv_pair) |
std::string | str (DurationTreeMap::const_reference kv_pair) |
Private Member Functions | |
JsonEncoder (JsonEncoder &json_encoder, DurationTreeNodes::const_iterator begin, DurationTreeNodes::const_iterator end) | |
Private Attributes | |
std::shared_ptr < rapidjson::Document > | doc_ |
rapidjson::Document::AllocatorType & | alloc_ |
DurationTreeNodes::const_iterator | begin_ |
DurationTreeNodes::const_iterator | end_ |
Definition at line 717 of file Logger.cpp.
|
inlineprivate |
Definition at line 724 of file Logger.cpp.
|
inline |
Definition at line 730 of file Logger.cpp.
|
inline |
Definition at line 754 of file Logger.cpp.
References alloc_, begin_, and end_.
Referenced by operator()(), and timer().
|
inline |
Definition at line 733 of file Logger.cpp.
References alloc_, childNodes(), logger::Duration::depth_, logger::DebugTimerParams::file_, nvtx_helpers::anonymous_namespace{nvtx_helpers.cpp}::filename(), logger::DebugTimerParams::line_, logger::DebugTimerParams::name_, logger::Duration::relative_start_time(), and logger::Duration::value().
|
inline |
Definition at line 745 of file Logger.cpp.
References alloc_, begin_, childNodes(), logger::DurationTree::depth_, logger::DurationTree::durations(), end_, logger::DurationTree::thread_id_, and to_string().
|
inline |
Definition at line 787 of file Logger.cpp.
References alloc_, doc_, and timer().
Referenced by logger::logAndEraseDurationTree().
|
inline |
Definition at line 771 of file Logger.cpp.
References alloc_, begin_, childNodes(), end_, and to_string().
Referenced by str().
|
private |
Definition at line 719 of file Logger.cpp.
Referenced by childNodes(), operator()(), str(), and timer().
|
private |
Definition at line 721 of file Logger.cpp.
Referenced by childNodes(), operator()(), and timer().
|
private |
Definition at line 718 of file Logger.cpp.
Referenced by str().
|
private |
Definition at line 722 of file Logger.cpp.
Referenced by childNodes(), operator()(), and timer().