LLDB mainline
|
A class to count success/fail statistics. More...
#include <Statistics.h>
Public Member Functions | |
StatsSuccessFail (llvm::StringRef n) | |
void | NotifySuccess () |
void | NotifyFailure () |
llvm::json::Value | ToJSON () const |
Public Attributes | |
std::string | name |
uint32_t | successes = 0 |
uint32_t | failures = 0 |
A class to count success/fail statistics.
Definition at line 94 of file Statistics.h.
|
inline |
Definition at line 95 of file Statistics.h.
|
inline |
Definition at line 98 of file Statistics.h.
References failures.
Referenced by CommandObjectFrameVariable::DoExecute(), and lldb_private::Target::EvaluateExpression().
|
inline |
Definition at line 97 of file Statistics.h.
References successes.
Referenced by CommandObjectFrameVariable::DoExecute(), and lldb_private::Target::EvaluateExpression().
json::Value StatsSuccessFail::ToJSON | ( | ) | const |
Definition at line 35 of file Statistics.cpp.
References failures, and successes.
Referenced by lldb_private::TargetStats::ToJSON().
uint32_t lldb_private::StatsSuccessFail::failures = 0 |
Definition at line 103 of file Statistics.h.
Referenced by NotifyFailure(), and ToJSON().
std::string lldb_private::StatsSuccessFail::name |
Definition at line 101 of file Statistics.h.
Referenced by lldb_private::TargetStats::ToJSON().
uint32_t lldb_private::StatsSuccessFail::successes = 0 |
Definition at line 102 of file Statistics.h.
Referenced by NotifySuccess(), and ToJSON().