gem5  v20.1.0.0
Public Member Functions | Public Attributes | Private Types | Private Attributes | Friends | List of all members
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 110 of file profile.hh.

Member Typedef Documentation

◆ ChildList

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

Definition at line 115 of file profile.hh.

Member Function Documentation

◆ clear()

void ProfileNode::clear ( )

Definition at line 89 of file profile.cc.

References children, count, and MipsISA::p.

◆ dump()

void 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 113 of file profile.hh.

Member Data Documentation

◆ children

ChildList ProfileNode::children
private

Definition at line 116 of file profile.hh.

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

◆ count

Counter ProfileNode::count = 0

Definition at line 119 of file profile.hh.

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


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

Generated on Wed Sep 30 2020 14:02:29 for gem5 by doxygen 1.8.17