|
gem5
|
#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 |
Definition at line 43 of file profile.hh.
|
private |
Definition at line 48 of file profile.hh.
| ProfileNode::ProfileNode | ( | ) |
Definition at line 45 of file profile.cc.
| 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().
|
friend |
Definition at line 46 of file profile.hh.
|
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().