|
LLVM
10.0.0
|
#include "llvm/ADT/Statistic.h"
Public Member Functions | |
| TrackingStatistic (const char *DebugType, const char *Name, const char *Desc) | |
| unsigned | getValue () const |
| operator unsigned () const | |
| const TrackingStatistic & | operator= (unsigned Val) |
| const TrackingStatistic & | operator++ () |
| unsigned | operator++ (int) |
| const TrackingStatistic & | operator-- () |
| unsigned | operator-- (int) |
| const TrackingStatistic & | operator+= (unsigned V) |
| const TrackingStatistic & | operator-= (unsigned V) |
| void | updateMax (unsigned V) |
Public Member Functions inherited from llvm::StatisticBase | |
| StatisticBase (const char *DebugType, const char *Name, const char *Desc) | |
| const char * | getDebugType () const |
| const char * | getName () const |
| const char * | getDesc () const |
Public Attributes | |
| std::atomic< unsigned > | Value |
| std::atomic< bool > | Initialized |
Public Attributes inherited from llvm::StatisticBase | |
| const char * | DebugType |
| const char * | Name |
| const char * | Desc |
Protected Member Functions | |
| TrackingStatistic & | init () |
| void | RegisterStatistic () |
| RegisterStatistic - The first time a statistic is bumped, this method is called. More... | |
Definition at line 61 of file Statistic.h.
|
inline |
Definition at line 66 of file Statistic.h.
|
inline |
Definition at line 69 of file Statistic.h.
Referenced by llvm::PrintStatisticsJSON().
|
inlineprotected |
Definition at line 124 of file Statistic.h.
|
inline |
Definition at line 72 of file Statistic.h.
|
inline |
Definition at line 79 of file Statistic.h.
References llvm::cl::init().
|
inline |
Definition at line 84 of file Statistic.h.
References llvm::cl::init().
|
inline |
Definition at line 99 of file Statistic.h.
References llvm::cl::init().
|
inline |
Definition at line 89 of file Statistic.h.
References llvm::cl::init().
|
inline |
Definition at line 94 of file Statistic.h.
References llvm::cl::init().
|
inline |
Definition at line 106 of file Statistic.h.
References llvm::cl::init().
|
inline |
Definition at line 74 of file Statistic.h.
References llvm::cl::init().
|
protected |
RegisterStatistic - The first time a statistic is bumped, this method is called.
Definition at line 91 of file Statistic.cpp.
References llvm::TimerGroup::ConstructTimerLists(), EnableStats, llvm::Lock, llvm::PrintStatistics(), SI, StatInfo, and StatLock.
|
inline |
Definition at line 113 of file Statistic.h.
References llvm::cl::init().
| std::atomic<bool> llvm::TrackingStatistic::Initialized |
Definition at line 64 of file Statistic.h.
| std::atomic<unsigned> llvm::TrackingStatistic::Value |
Definition at line 63 of file Statistic.h.
1.8.13