gem5  v21.1.0.2
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
 

Friends

class FunctionProfile
 

Detailed Description

Definition at line 114 of file profile.hh.

Member Typedef Documentation

◆ ChildList

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

Definition at line 119 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 Function Documentation

◆ FunctionProfile

friend class FunctionProfile
friend

Definition at line 117 of file profile.hh.

Member Data Documentation

◆ children

ChildList gem5::ProfileNode::children
private

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 Tue Sep 21 2021 12:27:59 for gem5 by doxygen 1.8.17