gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
PowerModel::ThermalProbeListener Class Reference

Listener class to catch thermal events. More...

#include <power_model.hh>

Inheritance diagram for PowerModel::ThermalProbeListener:
ProbeListenerArgBase< double > ProbeListener

Public Member Functions

 ThermalProbeListener (PowerModel &_pm, ProbeManager *pm, const std::string &name)
 
void notify (const double &temp)
 
- Public Member Functions inherited from ProbeListenerArgBase< double >
 ProbeListenerArgBase (ProbeManager *pm, const std::string &name)
 
- Public Member Functions inherited from ProbeListener
 ProbeListener (ProbeManager *manager, const std::string &name)
 
virtual ~ProbeListener ()
 

Protected Attributes

PowerModelpm
 
- Protected Attributes inherited from ProbeListener
ProbeManager *const manager
 
const std::string name
 

Detailed Description

Listener class to catch thermal events.

Definition at line 158 of file power_model.hh.

Constructor & Destructor Documentation

PowerModel::ThermalProbeListener::ThermalProbeListener ( PowerModel _pm,
ProbeManager pm,
const std::string &  name 
)
inline

Definition at line 161 of file power_model.hh.

Member Function Documentation

void PowerModel::ThermalProbeListener::notify ( const double &  temp)
inlinevirtual

Implements ProbeListenerArgBase< double >.

Definition at line 165 of file power_model.hh.

References pm, and PowerModel::thermalUpdateCallback().

Member Data Documentation

PowerModel& PowerModel::ThermalProbeListener::pm
protected

Definition at line 171 of file power_model.hh.

Referenced by notify().


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

Generated on Fri Jun 9 2017 13:04:17 for gem5 by doxygen 1.8.6