Definition at line 171 of file FastMonitoringService.cc.
◆ ConcurrencyTracker()
evf::ConcurrencyTracker::ConcurrencyTracker |
( |
unsigned |
num_expected | ) |
|
|
inline |
Definition at line 177 of file FastMonitoringService.cc.
std::vector< ContainableAtomic< unsigned int > > threadactive_
std::atomic< int > num_threads
◆ activate()
void evf::ConcurrencyTracker::activate |
( |
| ) |
|
|
inline |
◆ get_concurrency()
int evf::ConcurrencyTracker::get_concurrency |
( |
| ) |
|
|
inline |
◆ isThreadActive()
bool evf::ConcurrencyTracker::isThreadActive |
( |
unsigned |
index | ) |
|
|
inline |
◆ on_scheduler_entry()
void evf::ConcurrencyTracker::on_scheduler_entry |
( |
bool |
| ) |
|
|
inlineoverride |
Definition at line 183 of file FastMonitoringService.cc.
185 threadactive_[tbb::this_task_arena::current_thread_index()] = 1;
std::vector< ContainableAtomic< unsigned int > > threadactive_
std::atomic< int > num_threads
◆ on_scheduler_exit()
void evf::ConcurrencyTracker::on_scheduler_exit |
( |
bool |
| ) |
|
|
inlineoverride |
Definition at line 188 of file FastMonitoringService.cc.
190 threadactive_[tbb::this_task_arena::current_thread_index()] = 0;
std::vector< ContainableAtomic< unsigned int > > threadactive_
std::atomic< int > num_threads
◆ max_threads
unsigned evf::ConcurrencyTracker::max_threads |
|
private |
◆ num_threads
std::atomic<int> evf::ConcurrencyTracker::num_threads |
|
private |
◆ threadactive_