LLVM: llvm::TrackingStatistic Class Reference (original) (raw)

#include "[llvm/ADT/Statistic.h](Statistic%5F8h%5Fsource.html)"

Public Member Functions
constexpr TrackingStatistic (const char *DebugType, const char *Name, const char *Desc)
const char * getDebugType () const
const char * getName () const
const char * getDesc () const
uint64_t getValue () const
operator uint64_t () const
const TrackingStatistic & operator= (uint64_t Val)
const TrackingStatistic & operator++ ()
uint64_t operator++ (int)
const TrackingStatistic & operator-- ()
uint64_t operator-- (int)
const TrackingStatistic & operator+= (uint64_t V)
const TrackingStatistic & operator-= (uint64_t V)
void updateMax (uint64_t V)
Public Attributes
const char *const DebugType
const char *const Name
const char *const Desc
std::atomic< uint64_t > Value
std::atomic< bool > Initialized
Protected Member Functions
TrackingStatistic & init ()
void RegisterStatistic ()
RegisterStatistic - The first time a statistic is bumped, this method is called.

Definition at line 49 of file Statistic.h.

getDebugType()

const char * llvm::TrackingStatistic::getDebugType ( ) const inline

getDesc()

const char * llvm::TrackingStatistic::getDesc ( ) const inline

getName()

const char * llvm::TrackingStatistic::getName ( ) const inline

getValue()

uint64_t llvm::TrackingStatistic::getValue ( ) const inline

init()

operator uint64_t()

llvm::TrackingStatistic::operator uint64_t ( ) const inline

operator++() [1/2]

operator++() [2/2]

uint64_t llvm::TrackingStatistic::operator++ ( int ) inline

operator+=()

operator--() [1/2]

operator--() [2/2]

uint64_t llvm::TrackingStatistic::operator-- ( int ) inline

operator-=()

operator=()

RegisterStatistic()

void TrackingStatistic::RegisterStatistic ( ) protected

updateMax()

void llvm::TrackingStatistic::updateMax ( uint64_t V) inline

DebugType

Desc

Initialized

std::atomic<bool> llvm::TrackingStatistic::Initialized

Name

Value

std::atomic<uint64_t> llvm::TrackingStatistic::Value


The documentation for this class was generated from the following files: