#include <thread.h>
|
static thread_local bool | bound = false |
|
static const size_t | maxncpu = 1024 |
|
◆ ThreadBinder()
madness::ThreadBinder::ThreadBinder |
( |
bool |
print = false | ) |
|
|
inline |
◆ bind()
void madness::ThreadBinder::bind |
( |
| ) |
|
|
inline |
◆ get_cpus()
const size_t * madness::ThreadBinder::get_cpus |
( |
| ) |
const |
|
inline |
◆ get_ncpu()
const size_t madness::ThreadBinder::get_ncpu |
( |
| ) |
const |
|
inline |
◆ set_do_bind()
void madness::ThreadBinder::set_do_bind |
( |
bool |
value | ) |
|
|
inline |
◆ bound
thread_local bool madness::ThreadBinder::bound = false |
|
staticprivate |
◆ cpus
size_t madness::ThreadBinder::cpus[maxncpu] |
|
private |
◆ do_bind
bool madness::ThreadBinder::do_bind = true |
|
private |
◆ maxncpu
const size_t madness::ThreadBinder::maxncpu = 1024 |
|
staticprivate |
◆ ncpu
size_t madness::ThreadBinder::ncpu = 0 |
|
private |
◆ nextcpu
std::atomic<size_t> madness::ThreadBinder::nextcpu = 0 |
|
private |
◆ print
bool madness::ThreadBinder::print |
|
private |
The documentation for this class was generated from the following files: