gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::GenericWatchdog::Listener Class Reference

System Counter Listener: This object is being notified any time there is a change in the SystemCounter. More...

#include <watchdog_generic.hh>

Inheritance diagram for gem5::GenericWatchdog::Listener:
gem5::SystemCounterListener

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

GenericWatchdogparent
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Listener()

gem5::GenericWatchdog::Listener::Listener ( GenericWatchdog & _parent)
inlineexplicit

Definition at line 91 of file watchdog_generic.hh.

Member Function Documentation

◆ notify()

void gem5::GenericWatchdog::Listener::notify ( void )
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.

Member Data Documentation

◆ parent

GenericWatchdog& gem5::GenericWatchdog::Listener::parent
protected

Definition at line 104 of file watchdog_generic.hh.

Referenced by notify().


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

Generated on Tue Jun 18 2024 16:24:11 for gem5 by doxygen 1.11.0