/* ****************************** Functions related to the SMPI_SAMPLE_ macros ************************************/
typedef struct {
- int iters; /* amount of requested iterations */
- int count; /* amount of iterations done so far */
double threshold; /* maximal stderr requested (if positive) */
double relstderr; /* observed stderr so far */
double mean; /* mean of benched times, to be used if the block is disabled */
double sum; /* sum of benched times (to compute the mean and stderr) */
double sum_pow2; /* sum of the square of the benched times (to compute the stderr) */
+ int iters; /* amount of requested iterations */
+ int count; /* amount of iterations done so far */
int benching; /* 1: we are benchmarking; 0: we have enough data, no bench anymore */
} local_data_t;
"Logging specific to SMPI (kernel)");
typedef struct s_smpi_process_data {
- int index;
+ double simulated;
int* argc;
char*** argv;
smx_rdv_t mailbox;
smx_rdv_t mailbox_small;
xbt_os_timer_t timer;
- double simulated;
MPI_Comm comm_self;
void *data; /* user data */
+ int index;
int initialized;
} s_smpi_process_data_t;