gem5  v22.1.0.0
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

- 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 

Definition at line 139 of file power_model.hh.

Member Function Documentation

◆ notify()

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

Member Data Documentation

◆ pm

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

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 Wed Dec 21 2022 10:23:30 for gem5 by doxygen 1.9.1