#include <ogdf/energybased/fast_multipole_embedder/FMEThread.h>
Definition at line 127 of file FMEThread.h.
◆ FMEThreadPool()
ogdf::fast_multipole_embedder::FMEThreadPool::FMEThreadPool |
( |
uint32_t |
numThreads | ) |
|
|
explicit |
◆ ~FMEThreadPool()
ogdf::fast_multipole_embedder::FMEThreadPool::~FMEThreadPool |
( |
| ) |
|
◆ allocate()
void ogdf::fast_multipole_embedder::FMEThreadPool::allocate |
( |
| ) |
|
|
private |
◆ deallocate()
void ogdf::fast_multipole_embedder::FMEThreadPool::deallocate |
( |
| ) |
|
|
private |
◆ numThreads()
uint32_t ogdf::fast_multipole_embedder::FMEThreadPool::numThreads |
( |
| ) |
const |
|
inline |
returns the number of threads in this pool
Definition at line 134 of file FMEThread.h.
◆ runKernel()
template<typename KernelType , typename ArgType1 >
void ogdf::fast_multipole_embedder::FMEThreadPool::runKernel |
( |
ArgType1 |
arg1 | ) |
|
|
inline |
◆ runThreads()
void ogdf::fast_multipole_embedder::FMEThreadPool::runThreads |
( |
| ) |
|
runs one iteration. This call blocks the main thread
◆ syncBarrier()
Barrier* ogdf::fast_multipole_embedder::FMEThreadPool::syncBarrier |
( |
| ) |
const |
|
inline |
returns the barrier instance used to sync the threads during execution
Definition at line 140 of file FMEThread.h.
◆ thread()
FMEThread* ogdf::fast_multipole_embedder::FMEThreadPool::thread |
( |
uint32_t |
threadNr | ) |
const |
|
inline |
returns the threadNr-th thread
Definition at line 137 of file FMEThread.h.
◆ m_numThreads
uint32_t ogdf::fast_multipole_embedder::FMEThreadPool::m_numThreads |
|
private |
◆ m_pSyncBarrier
Barrier* ogdf::fast_multipole_embedder::FMEThreadPool::m_pSyncBarrier |
|
private |
◆ m_pThreads
FMEThread** ogdf::fast_multipole_embedder::FMEThreadPool::m_pThreads |
|
private |
The documentation for this class was generated from the following file:
- include/ogdf/energybased/fast_multipole_embedder/FMEThread.h