|
template<typename NetGroup > |
static std::vector< std::unique_ptr< HostContext > > | ConstructLoopbackHostContexts (const MemoryConfig &mem_config, size_t num_hosts, size_t workers_per_host) |
| Generic network constructor for net backends supporting loopback tests. More...
|
|
template<> |
data::CatStreamPtr | Context::GetNewStream< data::CatStream > (size_t dia_id) |
|
template<> |
data::MixStreamPtr | Context::GetNewStream< data::MixStream > (size_t dia_id) |
|
static bool | Deinitialize () |
|
static const char * | DetectNetBackend () |
|
static size_t | FindWorkersPerHost (const char *&str_workers_per_host, const char *&env_workers_per_host) |
|
static bool | Initialize () |
|
int | Run (const std::function< void(Context &)> &job_startpoint) |
| Runs the given job startpoint with a Context instance. More...
|
|
template<typename NetGroup > |
static int | RunBackendLoopback (const char *backend, const std::function< void(Context &)> &job_startpoint) |
| Run() implementation which uses a loopback net backend ("mock" or "tcp"). More...
|
|
template<typename NetGroup > |
static void | RunLoopbackThreads (const MemoryConfig &mem_config, size_t num_hosts, size_t workers_per_host, size_t core_offset, const std::function< void(Context &)> &job_startpoint) |
| Generic runner for backends supporting loopback tests. More...
|
|
int | RunNotSupported (const char *env_net) |
|
void | RunSetupFoxxll () |
|
static bool | SetupBlockSize () |
|
|
void | RunLocalMock (const MemoryConfig &mem_config, size_t num_hosts, size_t workers_per_host, const std::function< void(Context &)> &job_startpoint) |
| Function to run a number of mock hosts as locally independent threads, which communicate via internal stream sockets. More...
|
|
void | RunLocalTests (const std::function< void(Context &)> &job_startpoint) |
| Helper Function to execute RunLocalMock() tests using mock networks in test suite for many different numbers of workers and hosts as independent threads in one program. More...
|
|
void | RunLocalTests (size_t ram, const std::function< void(Context &)> &job_startpoint) |
| Helper Function to execute RunLocalMock() tests using mock networks in test suite for many different numbers of workers and hosts as independent threads in one program. More...
|
|
void | RunLocalSameThread (const std::function< void(Context &)> &job_startpoint) |
| Runs the given job_startpoint within the same thread with a test network –> run test with one host and one thread. More...
|
|
int | RunCheckDieWithParent () |
| Check environment variable THRILL_DIE_WITH_PARENT and enable process flag: this is useful for ssh/invoke.sh: it kills spawned processes when the ssh connection breaks. More...
|
|
int | RunCheckUnlinkBinary () |
| Check environment variable THRILL_UNLINK_BINARY and unlink given program path: this is useful for ssh/invoke.sh: it removes the copied program files while it is running, hence it is gone even if the program crashes. More...
|
|