#include <driver.h>
|
| SimulationQueue () |
|
| ~SimulationQueue () |
|
Simulation * | fork (sprockit::sim_parameters ¶ms, int nresults=0, double *resultPtr=nullptr) |
|
bool | runJobsOnMaster () const |
|
int | maxParallelWorkers () const |
|
void | setNextWorker () |
|
void | teardown () |
|
void | buildUp () |
|
void | init (int argc, char **argv) |
|
void | finalize () |
|
Simulation * | fork (sprockit::sim_parameters *params, int nresults=0, double *resultPtr=nullptr) |
|
Simulation * | waitForForked () |
|
void | clear (Simulation *sim) |
|
void | run (sprockit::sim_parameters *params, sim_stats &stats) |
|
Simulation * | sendScanPoint (int bufferSize, char *bufferPtr, int nresults, double *resultPtr=nullptr) |
|
sprockit::sim_parameters * | template_params () |
|
void | rerun (sprockit::sim_parameters *params, sim_stats &stats) |
|
void | busyLoopMPI () |
|
void | runScanPoint (char *buffer, sim_stats &stats) |
|
int | workerID () const |
|
Simulation ** | allocateSims (int max_nthread) |
|
char * | allocateTmpBuffer (size_t buf_size) |
|
double ** | allocateResults (int njobs, int nresults) |
|
double ** | allocateParams (int njobs, int nparams) |
|
uq_param_t ** | allocateParamStructs (int njobs, int nparams) |
|
Definition at line 179 of file driver.h.
sstmac::SimulationQueue::SimulationQueue |
( |
| ) |
|
sstmac::SimulationQueue::~SimulationQueue |
( |
| ) |
|
double** sstmac::SimulationQueue::allocateParams |
( |
int |
njobs, |
|
|
int |
nparams |
|
) |
| |
uq_param_t** sstmac::SimulationQueue::allocateParamStructs |
( |
int |
njobs, |
|
|
int |
nparams |
|
) |
| |
static double* sstmac::SimulationQueue::allocateResults |
( |
int |
nresults | ) |
|
|
static |
double** sstmac::SimulationQueue::allocateResults |
( |
int |
njobs, |
|
|
int |
nresults |
|
) |
| |
Simulation** sstmac::SimulationQueue::allocateSims |
( |
int |
max_nthread | ) |
|
char* sstmac::SimulationQueue::allocateTmpBuffer |
( |
size_t |
buf_size | ) |
|
void sstmac::SimulationQueue::buildUp |
( |
| ) |
|
|
inline |
void sstmac::SimulationQueue::busyLoopMPI |
( |
| ) |
|
void sstmac::SimulationQueue::clear |
( |
Simulation * |
sim | ) |
|
static void sstmac::SimulationQueue::delete_statics |
( |
| ) |
|
|
static |
void sstmac::SimulationQueue::finalize |
( |
| ) |
|
Simulation* sstmac::SimulationQueue::fork |
( |
sprockit::sim_parameters & |
params, |
|
|
int |
nresults = 0 , |
|
|
double * |
resultPtr = nullptr |
|
) |
| |
|
inline |
Simulation* sstmac::SimulationQueue::fork |
( |
sprockit::sim_parameters * |
params, |
|
|
int |
nresults = 0 , |
|
|
double * |
resultPtr = nullptr |
|
) |
| |
void sstmac::SimulationQueue::init |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
int sstmac::SimulationQueue::maxParallelWorkers |
( |
| ) |
const |
|
inline |
static void sstmac::SimulationQueue::publishResults |
( |
| ) |
|
|
inlinestatic |
void sstmac::SimulationQueue::rerun |
( |
sprockit::sim_parameters * |
params, |
|
|
sim_stats & |
stats |
|
) |
| |
void sstmac::SimulationQueue::run |
( |
sprockit::sim_parameters * |
params, |
|
|
sim_stats & |
stats |
|
) |
| |
bool sstmac::SimulationQueue::runJobsOnMaster |
( |
| ) |
const |
|
inline |
void sstmac::SimulationQueue::runScanPoint |
( |
char * |
buffer, |
|
|
sim_stats & |
stats |
|
) |
| |
Simulation* sstmac::SimulationQueue::sendScanPoint |
( |
int |
bufferSize, |
|
|
char * |
bufferPtr, |
|
|
int |
nresults, |
|
|
double * |
resultPtr = nullptr |
|
) |
| |
void sstmac::SimulationQueue::setNextWorker |
( |
| ) |
|
|
inline |
void sstmac::SimulationQueue::teardown |
( |
| ) |
|
sprockit::sim_parameters* sstmac::SimulationQueue::template_params |
( |
| ) |
|
|
inline |
Simulation* sstmac::SimulationQueue::waitForForked |
( |
| ) |
|
int sstmac::SimulationQueue::workerID |
( |
| ) |
const |
|
inline |
bool sstmac::SimulationQueue::built_up_ |
|
private |
bool sstmac::SimulationQueue::first_run_ |
|
private |
int sstmac::SimulationQueue::me_ |
|
private |
int sstmac::SimulationQueue::next_worker_ |
|
private |
int sstmac::SimulationQueue::nproc_ |
|
private |
int sstmac::SimulationQueue::nsims_ |
|
private |
int sstmac::SimulationQueue::num_results_ |
|
staticprivate |
std::pair<int,int> sstmac::SimulationQueue::param_buf_size_ |
|
private |
std::list<Simulation*> sstmac::SimulationQueue::pending_ |
|
private |
std::pair<int,int> sstmac::SimulationQueue::result_buf_size_ |
|
private |
double* sstmac::SimulationQueue::results_ |
|
staticprivate |
std::pair<int,int> sstmac::SimulationQueue::struct_buf_size_ |
|
private |
opts sstmac::SimulationQueue::template_opts_ |
|
private |
sprockit::sim_parameters sstmac::SimulationQueue::template_params_ |
|
private |
size_t sstmac::SimulationQueue::tmp_buf_size_ |
|
private |
char* sstmac::SimulationQueue::tmp_buffer_ |
|
private |
double** sstmac::SimulationQueue::tmp_params_ |
|
private |
double** sstmac::SimulationQueue::tmp_results_ |
|
private |
uq_param_t** sstmac::SimulationQueue::tmp_structs_ |
|
private |
The documentation for this class was generated from the following file: