gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 Jun 18 2024 16:24:13 for gem5 by doxygen 1.11.0