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 234 of file Statistics.h.
|
inlineexplicit |
Definition at line 236 of file Statistics.h.
References m_count, m_impl_type, m_name, and m_total_time.
|
inline |
Definition at line 247 of file Statistics.h.
References m_total_time.
Referenced by lldb_private::SummaryStatistics::SummaryInvocation::SummaryInvocation().
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivatenoexcept |
Definition at line 276 of file Statistics.h.
References m_count.
|
inline |
Definition at line 253 of file Statistics.h.
References m_total_time.
llvm::json::Value SummaryStatistics::ToJSON | ( | ) | const |
Definition at line 511 of file Statistics.cpp.
References GetName(), GetSummaryCount(), GetSummaryKindName(), and GetTotalTime().
|
private |
Definition at line 280 of file Statistics.h.
Referenced by GetSummaryCount(), OnInvoked(), and SummaryStatistics().
|
private |
Definition at line 278 of file Statistics.h.
Referenced by GetSummaryKindName(), and SummaryStatistics().
|
private |
Definition at line 279 of file Statistics.h.
Referenced by GetName(), and SummaryStatistics().
|
private |
Definition at line 277 of file Statistics.h.
Referenced by GetDurationReference(), GetTotalTime(), Reset(), and SummaryStatistics().