gem5  v22.1.0.0
Public Member Functions | Protected Attributes | List of all members
sc_dp::sc_barrier Class Reference

#include <sc_barrier.h>

Public Member Functions

void initialize (int thread_n)
 
void wait ()
 

Protected Attributes

sc_event m_barrier_event
 
int m_thread_n
 

Detailed Description

Definition at line 60 of file sc_barrier.h.

Member Function Documentation

◆ initialize()

void sc_dp::sc_barrier::initialize ( int  thread_n)
inline

Definition at line 62 of file sc_barrier.h.

References m_thread_n.

◆ wait()

void sc_dp::sc_barrier::wait ( )
inline

Definition at line 67 of file sc_barrier.h.

References m_barrier_event, m_thread_n, sc_core::SC_ZERO_TIME, and sc_core::wait().

Member Data Documentation

◆ m_barrier_event

sc_event sc_dp::sc_barrier::m_barrier_event
protected

Definition at line 82 of file sc_barrier.h.

Referenced by wait().

◆ m_thread_n

int sc_dp::sc_barrier::m_thread_n
protected

Definition at line 83 of file sc_barrier.h.

Referenced by initialize(), and wait().


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

Generated on Wed Dec 21 2022 10:25:08 for gem5 by doxygen 1.9.1