gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ProfileNode Class Reference

#include <profile.hh>

Public Member Functions

void dump (const std::string &symbol, uint64_t id, const FunctionProfile &prof, std::ostream &os) const
 
void clear ()
 

Public Attributes

Counter count = 0
 

Private Types

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

Private Attributes

ChildList children
 

Friends

class FunctionProfile
 

Detailed Description

Definition at line 113 of file profile.hh.

Member Typedef Documentation

◆ ChildList

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

Definition at line 118 of file profile.hh.

Member Function Documentation

◆ clear()

void gem5::ProfileNode::clear ( )

Definition at line 92 of file profile.cc.

References children, count, and gem5::MipsISA::p.

◆ dump()

void gem5::ProfileNode::dump ( const std::string & symbol,
uint64_t id,
const FunctionProfile & prof,
std::ostream & os ) const

Friends And Related Symbol Documentation

◆ FunctionProfile

friend class FunctionProfile
friend

Definition at line 116 of file profile.hh.

Member Data Documentation

◆ children

ChildList gem5::ProfileNode::children
private

Definition at line 119 of file profile.hh.

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

◆ count

Counter gem5::ProfileNode::count = 0

Definition at line 122 of file profile.hh.

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


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

Generated on Tue Jun 18 2024 16:24:13 for gem5 by doxygen 1.11.0