gem5  v22.1.0.0
Public Member Functions | Public Attributes | Private Types | Private Attributes | Friends | List of all members
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


class FunctionProfile

Detailed Description

Definition at line 114 of file profile.hh.

Member Typedef Documentation

◆ ChildList

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

Definition at line 119 of file profile.hh.

Member Function Documentation

◆ clear()

void gem5::ProfileNode::clear ( )

Definition at line 92 of file

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

◆ dump()

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

Friends And Related Function Documentation

◆ FunctionProfile

friend class FunctionProfile

Definition at line 117 of file profile.hh.

Member Data Documentation

◆ children

ChildList gem5::ProfileNode::children

Definition at line 120 of file profile.hh.

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

◆ count

Counter gem5::ProfileNode::count = 0

Definition at line 123 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 Wed Dec 21 2022 10:23:13 for gem5 by doxygen 1.9.1