gem5  v21.1.0.2
Public Member Functions | Protected Attributes | List of all members
gem5::PowerModel::ThermalProbeListener Class Reference

Listener class to catch thermal events. More...

#include <power_model.hh>

Inheritance diagram for gem5::PowerModel::ThermalProbeListener:
gem5::ProbeListenerArgBase< Temperature > gem5::ProbeListener

Public Member Functions

 ThermalProbeListener (PowerModel &_pm, ProbeManager *pm, const std::string &name)
 
void notify (const Temperature &temp)
 
- Public Member Functions inherited from gem5::ProbeListenerArgBase< Temperature >
 ProbeListenerArgBase (ProbeManager *pm, const std::string &name)
 
- Public Member Functions inherited from gem5::ProbeListener
 ProbeListener (ProbeManager *manager, const std::string &name)
 
virtual ~ProbeListener ()
 
 ProbeListener (const ProbeListener &other)=delete
 
ProbeListeneroperator= (const ProbeListener &other)=delete
 
 ProbeListener (ProbeListener &&other) noexcept=delete
 
ProbeListeneroperator= (ProbeListener &&other) noexcept=delete
 

Protected Attributes

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

Detailed Description

Listener class to catch thermal events.

Definition at line 136 of file power_model.hh.

Constructor & Destructor Documentation

◆ ThermalProbeListener()

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

Definition at line 139 of file power_model.hh.

Member Function Documentation

◆ notify()

void gem5::PowerModel::ThermalProbeListener::notify ( const Temperature temp)
inlinevirtual

Member Data Documentation

◆ pm

PowerModel& gem5::PowerModel::ThermalProbeListener::pm
protected

Definition at line 149 of file power_model.hh.

Referenced by notify().


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

Generated on Tue Sep 21 2021 12:27:59 for gem5 by doxygen 1.8.17