gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Types | Private Attributes | Friends | List of all members
ProfileNode Class Reference

#include <profile.hh>

Public Member Functions

 ProfileNode ()
 
void dump (const std::string &symbol, uint64_t id, const SymbolTable *symtab, std::ostream &os) const
 
void clear ()
 

Public Attributes

Counter count
 

Private Types

typedef std::map< Addr,
ProfileNode * > 
ChildList
 

Private Attributes

ChildList children
 

Friends

class FunctionProfile
 

Detailed Description

Definition at line 43 of file profile.hh.

Member Typedef Documentation

typedef std::map<Addr, ProfileNode *> ProfileNode::ChildList
private

Definition at line 48 of file profile.hh.

Constructor & Destructor Documentation

ProfileNode::ProfileNode ( )

Definition at line 45 of file profile.cc.

Member Function Documentation

void ProfileNode::clear ( )

Definition at line 80 of file profile.cc.

References children, count, and ArmISA::i.

Referenced by FunctionProfile::clear().

void ProfileNode::dump ( const std::string &  symbol,
uint64_t  id,
const SymbolTable symtab,
std::ostream &  os 
) const

Definition at line 50 of file profile.cc.

References addr, ccprintf(), children, count, dump(), SymbolTable::findSymbol(), ArmISA::i, and panic.

Referenced by dump(), and FunctionProfile::dump().

Friends And Related Function Documentation

friend class FunctionProfile
friend

Definition at line 46 of file profile.hh.

Member Data Documentation

ChildList ProfileNode::children
private

Definition at line 49 of file profile.hh.

Referenced by clear(), FunctionProfile::consume(), and dump().

Counter ProfileNode::count

Definition at line 52 of file profile.hh.

Referenced by clear(), dump(), and FunctionProfile::sample().


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

Generated on Fri Jun 9 2017 13:04:17 for gem5 by doxygen 1.8.6