gem5 v24.0.0.0
Loading...
Searching...
No Matches
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, 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 Tue Jun 18 2024 16:24:55 for gem5 by doxygen 1.11.0