LLDB mainline
|
A class that represents statistics about a TypeSummaryProviders invocations. More...
#include <Statistics.h>
Classes | |
class | SummaryInvocation |
Basic RAII class to increment the summary count when the call is complete. More... | |
Public Member Functions | |
SummaryStatistics (std::string name, std::string impl_type) | |
std::string | GetName () const |
double | GetTotalTime () const |
uint64_t | GetSummaryCount () const |
StatsDuration & | GetDurationReference () |
std::string | GetSummaryKindName () const |
llvm::json::Value | ToJSON () const |
void | Reset () |
Private Member Functions | |
void | OnInvoked () noexcept |
Private Attributes | |
lldb_private::StatsDuration | m_total_time |
const std::string | m_impl_type |
const std::string | m_name |
std::atomic< uint64_t > | m_count |
A class that represents statistics about a TypeSummaryProviders invocations.
Definition at line 187 of file Statistics.h.
|
inlineexplicit |
Definition at line 189 of file Statistics.h.
|
inline |
Definition at line 200 of file Statistics.h.
References m_total_time.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 194 of file Statistics.h.
References lldb_private::StatsDuration::get(), and m_total_time.
Referenced by ToJSON().
|
inlineprivatenoexcept |
Definition at line 229 of file Statistics.h.
References m_count.
|
inline |
Definition at line 206 of file Statistics.h.
References m_total_time, and lldb_private::StatsDuration::reset().
llvm::json::Value SummaryStatistics::ToJSON | ( | ) | const |
Definition at line 470 of file Statistics.cpp.
References GetName(), GetSummaryCount(), GetSummaryKindName(), and GetTotalTime().
|
private |
Definition at line 233 of file Statistics.h.
Referenced by GetSummaryCount(), and OnInvoked().
|
private |
Definition at line 231 of file Statistics.h.
Referenced by GetSummaryKindName().
|
private |
Definition at line 232 of file Statistics.h.
Referenced by GetName().
|
private |
Definition at line 230 of file Statistics.h.
Referenced by GetDurationReference(), GetTotalTime(), and Reset().