gem5  v20.1.0.0
Public Member Functions | List of all members
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 SystemCounterListener:
Serializable ArchTimer GenericTimer::CoreTimers 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. More...
 
- Public Member Functions inherited from Serializable
 Serializable ()
 
virtual ~Serializable ()
 
virtual void serialize (CheckpointOut &cp) const =0
 Serialize an object. More...
 
virtual void unserialize (CheckpointIn &cp)=0
 Unserialize an object. More...
 
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section. More...
 
void serializeSection (CheckpointOut &cp, const std::string &name) const
 
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object. More...
 
void unserializeSection (CheckpointIn &cp, const std::string &name)
 

Additional Inherited Members

- Static Public Member Functions inherited from Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section. More...
 
static void serializeAll (const std::string &cpt_dir)
 Serializes all the SimObjects. More...
 
static void unserializeGlobals (CheckpointIn &cp)
 

Detailed Description

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

Definition at line 65 of file generic_timer.hh.

Member Function Documentation

◆ notify()

virtual void 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 GenericTimer::CoreTimers, and ArchTimer.


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

Generated on Wed Sep 30 2020 14:02:32 for gem5 by doxygen 1.8.17