gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_gem5::ClockTick Class Reference
Inheritance diagram for sc_gem5::ClockTick:
sc_gem5::ScEvent

Public Member Functions

 ClockTick (::sc_core::sc_clock *clock, bool to, ::sc_core::sc_time _period)
 
void createProcess ()
 
 ~ClockTick ()
 
void tick ()
 
- Public Member Functions inherited from sc_gem5::ScEvent
 ScEvent (std::function< void()> work)
 
 ~ScEvent ()
 
bool scheduled ()
 
ScEventsscheduledOn ()
 
void when (gem5::Tick w)
 
gem5::Tick when ()
 
void run ()
 

Private Attributes

::sc_core::sc_time _period
 
std::string name
 
Processp
 
ProcessMemberFuncWrapper<::sc_core::sc_clockfuncWrapper
 

Detailed Description

Definition at line 44 of file sc_clock.cc.

Constructor & Destructor Documentation

◆ ClockTick()

sc_gem5::ClockTick::ClockTick ( ::sc_core::sc_clock * clock,
bool to,
::sc_core::sc_time _period )
inline

Definition at line 53 of file sc_clock.cc.

References tick().

◆ ~ClockTick()

sc_gem5::ClockTick::~ClockTick ( )
inline

Member Function Documentation

◆ createProcess()

void sc_gem5::ClockTick::createProcess ( )
inline

◆ tick()

void sc_gem5::ClockTick::tick ( )
inline

Definition at line 81 of file sc_clock.cc.

References _period, p, sc_gem5::Process::ready(), sc_gem5::Scheduler::schedule(), and sc_gem5::scheduler.

Referenced by ClockTick().

Member Data Documentation

◆ _period

::sc_core::sc_time sc_gem5::ClockTick::_period
private

Definition at line 47 of file sc_clock.cc.

Referenced by tick().

◆ funcWrapper

ProcessMemberFuncWrapper<::sc_core::sc_clock> sc_gem5::ClockTick::funcWrapper
private

Definition at line 50 of file sc_clock.cc.

Referenced by createProcess().

◆ name

std::string sc_gem5::ClockTick::name
private

Definition at line 48 of file sc_clock.cc.

Referenced by createProcess().

◆ p

Process* sc_gem5::ClockTick::p
private

Definition at line 49 of file sc_clock.cc.

Referenced by createProcess(), tick(), and ~ClockTick().


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

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