|
LLVM
5.0.0
|
#include "llvm/ADT/Statistic.h"
Public Member Functions | |
| unsigned | getValue () const |
| const char * | getDebugType () const |
| const char * | getName () const |
| const char * | getDesc () const |
| void | construct (const char *debugtype, const char *name, const char *desc) |
| construct - This should only be called for non-global statistics. More... | |
| operator unsigned () const | |
| const Statistic & | operator= (unsigned Val) |
| const Statistic & | operator++ () |
| unsigned | operator++ (int) |
| const Statistic & | operator-- () |
| unsigned | operator-- (int) |
| const Statistic & | operator+= (unsigned V) |
| const Statistic & | operator-= (unsigned V) |
| void | updateMax (unsigned V) |
Public Attributes | |
| const char * | DebugType |
| const char * | Name |
| const char * | Desc |
| std::atomic< unsigned > | Value |
| bool | Initialized |
Protected Member Functions | |
| Statistic & | init () |
| void | RegisterStatistic () |
| RegisterStatistic - The first time a statistic is bumped, this method is called. More... | |
Definition at line 39 of file Statistic.h.
|
inline |
construct - This should only be called for non-global statistics.
Definition at line 53 of file Statistic.h.
References DebugType, Desc, Initialized, Name, and name.
Definition at line 48 of file Statistic.h.
References DebugType.
Referenced by llvm::PrintStatisticsJSON().
Definition at line 50 of file Statistic.h.
References Desc.
Definition at line 49 of file Statistic.h.
References Name.
Referenced by llvm::PrintStatisticsJSON().
|
inline |
Definition at line 47 of file Statistic.h.
Referenced by operator unsigned(), and llvm::PrintStatisticsJSON().
|
inlineprotected |
Definition at line 149 of file Statistic.h.
References Initialized, llvm::sys::MemoryFence(), RegisterStatistic(), and TsanHappensAfter.
Referenced by operator++(), operator+=(), operator--(), operator-=(), operator=(), and updateMax().
|
inline |
Definition at line 62 of file Statistic.h.
References getValue().
Definition at line 70 of file Statistic.h.
References init().
|
inline |
Definition at line 75 of file Statistic.h.
References init().
Definition at line 90 of file Statistic.h.
References init().
Definition at line 80 of file Statistic.h.
References init().
|
inline |
Definition at line 85 of file Statistic.h.
References init().
Definition at line 97 of file Statistic.h.
References init().
Definition at line 65 of file Statistic.h.
References init().
|
protected |
RegisterStatistic - The first time a statistic is bumped, this method is called.
Definition at line 79 of file Statistic.cpp.
References Enabled, Initialized, llvm::sys::MemoryFence(), StatInfo, StatLock, Stats, TsanHappensBefore, TsanIgnoreWritesBegin, and TsanIgnoreWritesEnd.
Referenced by init().
|
inline |
Definition at line 104 of file Statistic.h.
References init().
Definition at line 41 of file Statistic.h.
Referenced by construct(), and getDebugType().
Definition at line 43 of file Statistic.h.
Referenced by construct(), and getDesc().
| bool llvm::Statistic::Initialized |
Definition at line 45 of file Statistic.h.
Referenced by construct(), init(), and RegisterStatistic().
Definition at line 42 of file Statistic.h.
Referenced by construct(), and getName().
| std::atomic<unsigned> llvm::Statistic::Value |
Definition at line 44 of file Statistic.h.
1.8.6