gem5 v25.0.0.1
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

◆ FunctionProfile

friend class FunctionProfile
friend

Definition at line 116 of file profile.hh.

References FunctionProfile.

Referenced by dump(), and FunctionProfile.

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 Sat Oct 18 2025 08:06:53 for gem5 by doxygen 1.14.0