Go to the documentation of this file.
38 #ifndef __BASE_BARRIER_HH__
39 #define __BASE_BARRIER_HH__
41 #include <condition_variable>
85 #endif // __BASE_BARRIER_HH__
std::condition_variable bCond
Condition variable for waiting on barrier.
unsigned numLeft
Number of threads remaining for the current generation.
std::mutex bMutex
Mutex to protect access to numLeft and generation.
unsigned generation
Generation of this barrier.
Barrier(unsigned _numWaiting)
unsigned numWaiting
Number of threads we should be waiting for before completing the barrier.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Wed May 4 2022 12:13:51 for gem5 by doxygen 1.8.17