OmniSciDB
94e8789169
|
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 580 of file Logger.cpp.
|
inlineprivate |
Definition at line 587 of file Logger.cpp.
|
inline |
Definition at line 593 of file Logger.cpp.
|
inline |
Definition at line 617 of file Logger.cpp.
References alloc_, begin_, and end_.
Referenced by operator()(), and timer().
|
inline |
Definition at line 596 of file Logger.cpp.
References alloc_, childNodes(), logger::Duration::depth_, logger::Duration::file_, logger::filename(), logger::Duration::line_, logger::Duration::name_, logger::Duration::relative_start_time(), and logger::Duration::value().
|
inline |
Definition at line 608 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 650 of file Logger.cpp.
References alloc_, doc_, and timer().
Referenced by logger::logAndEraseDurationTree().
|
inline |
Definition at line 634 of file Logger.cpp.
References alloc_, begin_, childNodes(), end_, and to_string().
Referenced by str().
|
private |
Definition at line 582 of file Logger.cpp.
Referenced by childNodes(), operator()(), str(), and timer().
|
private |
Definition at line 584 of file Logger.cpp.
Referenced by childNodes(), operator()(), and timer().
|
private |
Definition at line 581 of file Logger.cpp.
Referenced by str().
|
private |
Definition at line 585 of file Logger.cpp.
Referenced by childNodes(), operator()(), and timer().