#include <mpi_utilities.h>
load_balance::load_balance |
( |
| ) |
|
|
inline |
load_balance::load_balance |
( |
unsigned int |
nJobs, |
|
|
unsigned int |
nCPU |
|
) |
| |
|
inline |
load_balance::~load_balance |
( |
| ) |
|
|
inline |
void load_balance::clear |
( |
| ) |
|
|
inline |
void load_balance::finalize |
( |
exit_type |
exit_status | ) |
|
void load_balance::init |
( |
unsigned int |
nJobs, |
|
|
unsigned int |
nCPU |
|
) |
| |
References cpu, EXIT_FAILURE, fork, fprintf(), t_cpu::i(), t_ran::i63(), ioQQQ, t_cpu_i::lgMaster(), t_cpu_i::lgMPI(), min(), MPI_Bcast, t_ran::new_rank(), t_cpu_i::nRANK(), NULL, p_jobs, p_ncpu, p_ptr, p_rank, pid_t, ran, and t_cpu_i::set_nRANK().
Referenced by load_balance().
int load_balance::next_job |
( |
| ) |
|
|
inline |
void load_balance::p_clear0 |
( |
| ) |
|
|
inlineprivate |
void load_balance::p_clear1 |
( |
| ) |
|
|
inlineprivate |
vector<int> load_balance::p_jobs |
|
private |
unsigned int load_balance::p_ncpu |
|
private |
unsigned int load_balance::p_ptr |
|
private |
unsigned int load_balance::p_rank |
|
private |
The documentation for this class was generated from the following files: