gem5 v24.0.0.0
|
System Counter Listener: This object is being notified any time there is a change in the SystemCounter. More...
#include <watchdog_generic.hh>
Public Member Functions | |
Listener (GenericWatchdog &_parent) | |
void | notify (void) override |
Called from the SystemCounter when a change in counting speed occurred Events should be rescheduled properly inside this member function. | |
Protected Attributes | |
GenericWatchdog & | parent |
System Counter Listener: This object is being notified any time there is a change in the SystemCounter.
(Like a change in the counter frequency) This is needed since the Generic Watchdog doesn't have a standalone counter and it is instead relying on the global System Counter.
Definition at line 88 of file watchdog_generic.hh.
|
inlineexplicit |
Definition at line 91 of file watchdog_generic.hh.
|
inlineoverridevirtual |
Called from the SystemCounter when a change in counting speed occurred Events should be rescheduled properly inside this member function.
Implements gem5::SystemCounterListener.
Definition at line 95 of file watchdog_generic.hh.
References gem5::GenericWatchdog::enabled, panic_if, and parent.
|
protected |
Definition at line 104 of file watchdog_generic.hh.
Referenced by notify().