|
Tomographer
v4.0
Tomographer C++ Framework Documentation
|
Multiprocessing with OpenMP parallel multithreading. More...
#include <csignal>#include <chrono>#include <thread>#include <stdexcept>#include <boost/exception/diagnostic_information.hpp>#include <tomographer/tools/loggers.h>#include <tomographer/tools/cxxutil.h>#include <tomographer/tools/needownoperatornew.h>#include <tomographer/multiproc.h>
Include dependency graph for multiprocomp.h:Go to the source code of this file.
Classes | |
| class | Tomographer::MultiProc::OMP::ThreadSanitizerLogger< BaseLogger > |
| Wrapper logger to call non-thread-safe loggers from a multithreaded environment. More... | |
| struct | Tomographer::Logger::LoggerTraits< MultiProc::OMP::ThreadSanitizerLogger< BaseLogger > > |
| Specialized Traits for Tomographer::MultiProc::OMP::ThreadSanitizerLogger<typename BaseLogger> – see Tomographer::Logger::LoggerTraits<typename LoggerType> More... | |
| class | Tomographer::MultiProc::OMP::TaskDispatcher< TaskType_, TaskCData_, ResultsCollector_, LoggerType_, CountIntType_, TaskLoggerType_ > |
| Dispatches tasks to parallel threads using OpenMP. More... | |
Namespaces | |
| Tomographer | |
Base namespace for the Tomographer project. | |
| Tomographer::MultiProc | |
| Definitions for multi-processing classes and helpers. | |
| Tomographer::MultiProc::OMP | |
| Definitions for multitasking using OpenMP multithreading. | |
| Tomographer::Logger | |
| Tomographer's Logging Framework | |
Macros | |
| #define | TOMOGRAPHER_SLEEP_FOR_MS(x) std::this_thread::sleep_for(std::chrono::milliseconds((x))) |
Functions | |
| constexpr int | omp_get_thread_num () |
| constexpr int | omp_get_num_threads () |
| template<typename TaskType_ , typename TaskCData_ , typename ResultsCollector_ , typename LoggerType_ , typename CountIntType_ = int> | |
| TaskDispatcher< TaskType_, TaskCData_, ResultsCollector_, LoggerType_, CountIntType_ > | Tomographer::MultiProc::OMP::makeTaskDispatcher (TaskCData_ *pcdata_, ResultsCollector_ *results_, LoggerType_ &logger_, CountIntType_ num_total_runs_, CountIntType_ n_chunk_=1) |
| Create an OMP task dispatcher. Useful if you want C++'s template argument deduction mechanism. | |
Multiprocessing with OpenMP parallel multithreading.
See Tomographer::MultiProc::OMP.
Definition in file multiprocomp.h.