LLDB
mainline
|
A class that represents statistics for a since lldb_private::Target. More...
#include <Statistics.h>
Public Member Functions | |
llvm::json::Value | ToJSON (Target &target) |
void | SetLaunchOrAttachTime () |
void | SetFirstPrivateStopTime () |
void | SetFirstPublicStopTime () |
StatsDuration & | GetCreateTime () |
StatsSuccessFail & | GetExpressionStats () |
StatsSuccessFail & | GetFrameVariableStats () |
Protected Member Functions | |
void | CollectStats (Target &target) |
Protected Attributes | |
StatsDuration | m_create_time |
llvm::Optional< StatsTimepoint > | m_launch_or_attach_time |
llvm::Optional< StatsTimepoint > | m_first_private_stop_time |
llvm::Optional< StatsTimepoint > | m_first_public_stop_time |
StatsSuccessFail | m_expr_eval {"expressionEvaluation"} |
StatsSuccessFail | m_frame_var {"frameVariable"} |
std::vector< intptr_t > | m_module_identifiers |
A class that represents statistics for a since lldb_private::Target.
Definition at line 129 of file Statistics.h.
|
protected |
Definition at line 42 of file Statistics.cpp.
References lldb_private::Target::GetImages(), and lldb_private::ModuleList::Modules().
|
inline |
Definition at line 137 of file Statistics.h.
References m_create_time.
Referenced by lldb_private::Target::SetExecutableModule().
|
inline |
Definition at line 138 of file Statistics.h.
References m_expr_eval.
Referenced by lldb_private::Target::EvaluateExpression().
|
inline |
Definition at line 139 of file Statistics.h.
References m_frame_var.
Referenced by CommandObjectFrameVariable::DoExecute().
void TargetStats::SetFirstPrivateStopTime | ( | ) |
Definition at line 148 of file Statistics.cpp.
Referenced by lldb_private::Process::SetPrivateState().
void TargetStats::SetFirstPublicStopTime | ( | ) |
Definition at line 156 of file Statistics.cpp.
Referenced by lldb_private::Process::SetPublicState().
void TargetStats::SetLaunchOrAttachTime | ( | ) |
Definition at line 143 of file Statistics.cpp.
Referenced by lldb_private::Target::Attach(), and lldb_private::Target::Launch().
json::Value TargetStats::ToJSON | ( | Target & | target | ) |
Definition at line 87 of file Statistics.cpp.
References elapsed(), lldb_private::BreakpointList::GetBreakpointAtIndex(), lldb_private::Target::GetBreakpointList(), lldb_private::BreakpointList::GetListMutex(), lldb_private::Target::GetProcessSP(), lldb_private::Breakpoint::GetResolveTime(), lldb_private::BreakpointList::GetSize(), and lldb_private::Breakpoint::GetStatistics().
Referenced by lldb_private::Target::ReportStatistics().
|
protected |
Definition at line 142 of file Statistics.h.
Referenced by GetCreateTime().
|
protected |
Definition at line 146 of file Statistics.h.
Referenced by GetExpressionStats().
|
protected |
Definition at line 144 of file Statistics.h.
|
protected |
Definition at line 145 of file Statistics.h.
|
protected |
Definition at line 147 of file Statistics.h.
Referenced by GetFrameVariableStats().
|
protected |
Definition at line 143 of file Statistics.h.
|
protected |
Definition at line 148 of file Statistics.h.