CbmRoot
CbmRichParallelQa.cxx File Reference
#include "CbmRichParallelQa.h"
#include "CbmRichHit.h"
#include "FairRootManager.h"
#include "tbb/tick_count.h"
#include "tbb/parallel_for.h"
#include "tbb/parallel_invoke.h"
#include "tbb/spin_mutex.h"
#include "tbb/task.h"
#include "tbb/task_scheduler_init.h"
#include "tbb/task_scheduler_observer.h"
#include <fstream>
#include <iostream>
#include <map>
Include dependency graph for CbmRichParallelQa.cxx:

Go to the source code of this file.

Classes

class  TMyObserver
 
class  FinderTaskQa
 

Macros

#define handle_error_en(en, msg)
 redefine function, which will be run at begining of execution of each thread More...
 

Variables

int threads_counter = -1
 
map< int, long > threadToCpuMap
 
map< int, int > threadNumberToCpuMap
 
spin_mutex mutex
 

Macro Definition Documentation

◆ handle_error_en

#define handle_error_en (   en,
  msg 
)
Value:
do { \
errno = en; \
perror(msg); \
exit(EXIT_FAILURE); \
} while (0)

redefine function, which will be run at begining of execution of each thread

Definition at line 55 of file CbmRichParallelQa.cxx.

Variable Documentation

◆ mutex

spin_mutex mutex

Definition at line 30 of file CbmRichParallelQa.cxx.

Referenced by TMyObserver::on_scheduler_entry().

◆ threadNumberToCpuMap

map<int, int> threadNumberToCpuMap

Definition at line 29 of file CbmRichParallelQa.cxx.

Referenced by TMyObserver::FInit(), and TMyObserver::on_scheduler_entry().

◆ threads_counter

int threads_counter = -1

◆ threadToCpuMap

map<int, long> threadToCpuMap

Definition at line 27 of file CbmRichParallelQa.cxx.

Referenced by TMyObserver::on_scheduler_entry().