|
LibreOffice Module comphelper (master) 1
|
#include <comphelper/threadpool.hxx>#include <tools/cpuid.hxx>#include <memory>#include <iterator>#include <thread>#include <algorithm>#include <cmath>#include <random>#include <functional>#include <iostream>#include <chrono>Go to the source code of this file.
Namespaces | |
| namespace | comphelper |
Macros | |
| #define | PARALLELSORT_ENABLEPZ 0 |
Functions | |
| static comphelper::ThreadPool & | comphelper::rTPool (comphelper::ThreadPool::getSharedOptimalPool()) |
| template<class RandItr , class Compare = std::less<>> | |
| void | comphelper::parallelSort (const RandItr aBegin, const RandItr aEnd, Compare aComp=Compare()) |
Variables | |
| const size_t | comphelper::nThreadCountGlobal = std::thread::hardware_concurrency() |
| const bool | comphelper::bHyperThreadingActive = cpuid::hasHyperThreading() |
| static thread_local std::mt19937 | comphelper::aGenerator { std::random_device{}() } |
| #define PARALLELSORT_ENABLEPZ 0 |
Definition at line 34 of file parallelsort.hxx.
| size_t maBinEnds[nMaxTreeArraySize] |
Definition at line 171 of file parallelsort.hxx.
|
private |
Definition at line 165 of file parallelsort.hxx.
|
private |
Definition at line 108 of file parallelsort.hxx.
|
private |
Definition at line 164 of file parallelsort.hxx.
|
private |
Definition at line 167 of file parallelsort.hxx.
|
private |
Definition at line 122 of file parallelsort.hxx.
|
private |
Definition at line 88 of file parallelsort.hxx.
|
private |
Definition at line 168 of file parallelsort.hxx.
|
private |
Definition at line 162 of file parallelsort.hxx.
|
staticconstexprprivate |
Definition at line 163 of file parallelsort.hxx.
|
private |
Definition at line 161 of file parallelsort.hxx.
|
private |
Definition at line 166 of file parallelsort.hxx.