IOR
md-workbench.h
Go to the documentation of this file.
1 #ifndef IOR_MD_WORKBENCH_H
2 #define IOR_MD_WORKBENCH_H
3 
4 #include <stdint.h>
5 #include <stdio.h>
6 #include <mpi.h>
7 
8 typedef struct{
9  float min;
10  float q1;
11  float median;
12  float q3;
13  float q90;
14  float q99;
15  float max;
17 
18 
19 // statistics for running a single phase
20 typedef struct{ // NOTE: if this type is changed, adjust end_phase() !!!
25 
26  int errors;
27  double rate;
28  double max_op_time;
29  double runtime;
30  uint64_t iterations_done;
32 
33 typedef struct{
34  int count; // the number of results
35  int errors;
38 
39 // @Return The first statistics returned are precreate, then iteration many benchmark runs, the last is cleanup
40 mdworkbench_results_t* md_workbench_run(int argc, char ** argv, MPI_Comm world_com, FILE * out_logfile);
41 
42 #endif
mdworkbench_results_t * md_workbench_run(int argc, char **argv, MPI_Comm world_com, FILE *out_logfile)
Definition: md-workbench.c:876
FILE * out_logfile
Definition: utilities.c:72
time_statistics_t stats_stat
Definition: md-workbench.h:23
uint64_t iterations_done
Definition: md-workbench.h:30
time_statistics_t stats_create
Definition: md-workbench.h:21
time_statistics_t stats_delete
Definition: md-workbench.h:24
time_statistics_t stats_read
Definition: md-workbench.h:22