gem5 [DEVELOP-FOR-25.1]
Loading...
Searching...
No Matches
gem5::SystemCounterListener Class Referenceabstract

Abstract class for elements whose events depend on the counting speed of the System Counter. More...

#include <generic_timer.hh>

Inheritance diagram for gem5::SystemCounterListener:
gem5::ArchTimer gem5::GenericTimer::CoreTimers gem5::GenericWatchdog::Listener gem5::ArchTimerKvm

Public Member Functions

virtual void notify (void)=0
 Called from the SystemCounter when a change in counting speed occurred Events should be rescheduled properly inside this member function.
virtual ~SystemCounterListener ()=default

Detailed Description

Abstract class for elements whose events depend on the counting speed of the System Counter.

Definition at line 76 of file generic_timer.hh.

Constructor & Destructor Documentation

◆ ~SystemCounterListener()

virtual gem5::SystemCounterListener::~SystemCounterListener ( )
virtualdefault

Member Function Documentation

◆ notify()

virtual void gem5::SystemCounterListener::notify ( void )
pure virtual

Called from the SystemCounter when a change in counting speed occurred Events should be rescheduled properly inside this member function.

Implemented in gem5::ArchTimer, gem5::GenericTimer::CoreTimers, and gem5::GenericWatchdog::Listener.


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

Generated on Mon Oct 27 2025 04:13:14 for gem5 by doxygen 1.14.0