LLDB mainline
|
#include <Statistics.h>
Public Types | |
using | Duration = std::chrono::duration< double > |
Public Member Functions | |
Duration | get () const |
operator Duration () const | |
void | reset () |
StatsDuration & | operator+= (Duration dur) |
Private Types | |
using | InternalDuration = std::chrono::duration< uint64_t, std::micro > |
Private Attributes | |
std::atomic< uint64_t > | value {0} |
Definition at line 35 of file Statistics.h.
using lldb_private::StatsDuration::Duration = std::chrono::duration<double> |
Definition at line 37 of file Statistics.h.
|
private |
Definition at line 53 of file Statistics.h.
|
inline |
Definition at line 39 of file Statistics.h.
References value.
Referenced by lldb_private::Breakpoint::GetStatistics(), lldb_private::SummaryStatistics::GetTotalTime(), lldb_private::CommandInterpreter::HandleCommand(), operator Duration(), lldb_private::DebuggerStats::ReportStatistics(), and lldb_private::TargetStats::ToJSON().
|
inline |
Definition at line 42 of file Statistics.h.
References get().
|
inline |
Definition at line 46 of file Statistics.h.
References value.
|
inline |
Definition at line 44 of file Statistics.h.
References value.
Referenced by lldb_private::SummaryStatistics::Reset(), lldb_private::Breakpoint::ResetStatistics(), lldb_private::Module::ResetStatistics(), lldb_private::plugin::dwarf::DWARFIndex::ResetStatistics(), and lldb_private::plugin::dwarf::SymbolFileDWARF::ResetStatistics().
|
private |
Definition at line 54 of file Statistics.h.
Referenced by get(), operator+=(), and reset().