Go to the documentation of this file.
53 #ifndef __DEV_ARM_ENERGY_CTRL_HH__
54 #define __DEV_ARM_ENERGY_CTRL_HH__
57 #include "params/EnergyCtrl.hh"
139 void init()
override;
174 return (uint32_t)(
voltage * 1000000);
190 #endif //__DEV_ARM_ENERGY_CTRL_HH__
Tick read(PacketPtr pkt) override
Read command sent to the device.
uint32_t perfLevelAck
Acknowledgment (PERF_LEVEL_ACK) RO register, software polls this register to read back the status of ...
static uint32_t toMicroVolt(double voltage)
DVFSHandler * dvfsHandler
EnergyCtrl(const Params &p)
void serialize(CheckpointOut &cp) const override
Serialize an object.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint64_t Tick
Tick count type.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
EventFunctionWrapper updateAckEvent
void startup() override
startup() is the final initialization call before simulation.
uint32_t domainIDIndexToRead
Index for getting the domain ID from the domain ID list available with the DVFS handler.
static uint32_t ticksTokHz(Tick period)
@ DVFS_HANDLER_TRANS_LATENCY
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
void updatePLAck()
Update the acknowledgment that is read back by the software to confirm newly requested performance le...
DVFS Handler class, maintains a list of all the domains it can handle.
uint32_t domainID
Cluster ID (DOMAIN_ID) R/W register, programmed to ID of the domain for which the set/get performance...
Tick write(PacketPtr pkt) override
Write command sent to the device.
std::ostream CheckpointOut
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:54 for gem5 by doxygen 1.8.17