CPM: A software tool for Communication Performance Modelling

The linear interpolation model

Classes

struct  LinInterp_model

Functions

LinInterp_modelLinInterp_alloc (int size, int num_points)
void LinInterp_free (LinInterp_model *model)
void LinInterp_estimate (MPI_Comm comm, MPIB_precision precision, MPIB_msgset msgset, int parallel, LinInterp_model **_model)
void LinInterp_read (FILE *stream, LinInterp_model **model)
void LinInterp_write (FILE *stream, const LinInterp_model *model)
double LinInterp_predict_p2p (void *_this, int i, int j, int M)

Function Documentation

LinInterp_model* LinInterp_alloc ( int  size,
int  num_points 
)

Allocates the linear interpolation model

void LinInterp_free ( LinInterp_model model  ) 

Frees the linear interpolation model

void LinInterp_estimate ( MPI_Comm  comm,
MPIB_precision  precision,
MPIB_msgset  msgset,
int  parallel,
LinInterp_model **  _model 
)

Estimates the linear interpolation model

void LinInterp_read ( FILE *  stream,
LinInterp_model **  model 
)

Reads the linear interpolation model

void LinInterp_write ( FILE *  stream,
const LinInterp_model model 
)

Writes the linear interpolation model

double LinInterp_predict_p2p ( void *  _this,
int  i,
int  j,
int  M 
)

Predicts the p2p communication execution time using the linear interpolation model