LLVM API Documentation

StatRecord Struct Reference

Collaboration diagram for StatRecord:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StatRecord (const std::string &V, const char *N, const char *D)
bool operator< (const StatRecord &SR) const
void print (unsigned ValFieldSize, unsigned NameFieldSize, std::ostream &OS)

Public Attributes

std::string Value
const char * Name
const char * Desc

Detailed Description

Definition at line 42 of file Statistic.cpp.


Constructor & Destructor Documentation

StatRecord::StatRecord ( const std::string &  V,
const char *  N,
const char *  D 
) [inline]

Definition at line 46 of file Statistic.cpp.


Member Function Documentation

bool StatRecord::operator< ( const StatRecord SR  )  const [inline]

Definition at line 49 of file Statistic.cpp.

References Name, and llvm::SR.

void StatRecord::print ( unsigned  ValFieldSize,
unsigned  NameFieldSize,
std::ostream &  OS 
) [inline]

Definition at line 53 of file Statistic.cpp.

References Desc, and Name.


Member Data Documentation

const char * StatRecord::Desc

Definition at line 44 of file Statistic.cpp.

Referenced by print().

const char* StatRecord::Name

Definition at line 44 of file Statistic.cpp.

Referenced by operator<(), and print().

std::string StatRecord::Value

Definition at line 43 of file Statistic.cpp.


The documentation for this struct was generated from the following file: