Definition at line 467 of file FastTimerService.h.
◆ ThreadGuard()
FastTimerService::ThreadGuard::ThreadGuard |
( |
| ) |
|
◆ ~ThreadGuard()
FastTimerService::ThreadGuard::~ThreadGuard |
( |
| ) |
|
|
default |
◆ finalize()
void FastTimerService::ThreadGuard::finalize |
( |
void |
| ) |
|
Definition at line 1765 of file FastTimerService.cc.
References AlCaHLTBitMon_ParallelJobs::p.
1767 auto expected =
true;
1768 if (
p->live_.compare_exchange_strong(expected,
false)) {
1769 p->measurement_.measure_and_accumulate(
p->resource_);
tbb::concurrent_vector< std::shared_ptr< specific_t > > thread_resources_
◆ ptr()
◆ register_thread()
◆ retire_thread()
void FastTimerService::ThreadGuard::retire_thread |
( |
void * |
t | ) |
|
|
static |
Definition at line 1754 of file FastTimerService.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by ThreadGuard().
1756 auto expected =
true;
1757 if ((*ps)->live_.compare_exchange_strong(expected,
false)) {
1759 (*ps)->measurement_.measure_and_accumulate((*ps)->resource_);
static std::shared_ptr< specific_t > * ptr(void *p)
◆ thread()
◆ key_
pthread_key_t FastTimerService::ThreadGuard::key_ |
◆ thread_resources_
tbb::concurrent_vector<std::shared_ptr<specific_t> > FastTimerService::ThreadGuard::thread_resources_ |