MADNESS
0.10.1
|
#include <madness/world/MADworld.h>
Classes | |
class | Task |
Functions | |
void | cleanup_tls () |
unsigned long * | get_tls () |
void | init_tls (const unsigned long nthreads) |
int | main (int argc, char **argv) |
Variables | |
const int | NGEN =100 |
const int | NTASK =100000 |
unsigned long * | thread_counters = nullptr |
madness::AtomicInt | thread_index |
pthread_key_t | thread_key |
madness::AtomicInt | total_count |
void cleanup_tls | ( | ) |
References thread_counters, and thread_key.
Referenced by main().
unsigned long* get_tls | ( | ) |
References thread_counters, thread_index, and thread_key.
Referenced by init_tls(), and Task::run().
void init_tls | ( | const unsigned long | nthreads | ) |
References get_tls(), thread_counters, thread_index, and thread_key.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
References madness::WorldTaskQueue::add(), madness::World::await(), cleanup_tls(), SafeMPI::COMM_WORLD, madness::finalize(), Task::finished(), init_tls(), madness::initialize(), NGEN, NTASK, madness::ThreadPool::size(), smalltest, madness::World::taskq, thread_counters, total_count, and madness::wall_time().
const int NGEN =100 |
Referenced by Task::finished(), and main().
const int NTASK =100000 |
Referenced by Task::finished(), and main().
unsigned long* thread_counters = nullptr |
Referenced by cleanup_tls(), get_tls(), init_tls(), and main().
madness::AtomicInt thread_index |
Referenced by get_tls(), and init_tls().
pthread_key_t thread_key |
Referenced by cleanup_tls(), get_tls(), and init_tls().
madness::AtomicInt total_count |
Referenced by Task::finished(), main(), and Task::run().