gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
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 (Tick w)
 
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 45 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 54 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 82 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 48 of file sc_clock.cc.

Referenced by tick().

◆ funcWrapper

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

Definition at line 51 of file sc_clock.cc.

Referenced by createProcess().

◆ name

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

Definition at line 49 of file sc_clock.cc.

Referenced by createProcess().

◆ p

Process* sc_gem5::ClockTick::p
private

Definition at line 50 of file sc_clock.cc.

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


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

Generated on Wed Sep 30 2020 14:03:10 for gem5 by doxygen 1.8.17