IOR
mdtest.h
Go to the documentation of this file.
1 #ifndef _MDTEST_H
2 #define _MDTEST_H
3 
4 #include <mpi.h>
5 #include <stdio.h>
6 #include <stdint.h>
7 
8 typedef enum {
22 
23 typedef struct
24 {
25  double rate[MDTEST_LAST_NUM]; /* Calculated throughput after the barrier */
26  double rate_before_barrier[MDTEST_LAST_NUM]; /* Calculated throughput before the barrier */
27  double time[MDTEST_LAST_NUM]; /* Time */
28  double time_before_barrier[MDTEST_TREE_CREATE_NUM]; /* individual time before executing the barrier */
29  uint64_t items[MDTEST_LAST_NUM]; /* Number of operations done in this process*/
30 
31  /* Statistics when hitting the stonewall */
32  double stonewall_time[MDTEST_LAST_NUM]; /* Max runtime of any process until completion / hit of the stonewall */
33  uint64_t stonewall_last_item[MDTEST_LAST_NUM]; /* The number of items a process has accessed */
34  uint64_t stonewall_item_min[MDTEST_LAST_NUM]; /* Min number of items any process has accessed */
35  uint64_t stonewall_item_sum[MDTEST_LAST_NUM]; /* Total number of items accessed by all processes until stonewall */
37 
38 mdtest_results_t * mdtest_run(int argc, char **argv, MPI_Comm world_com, FILE * out_logfile);
39 
40 #endif
mdtest_test_num_t
Definition: mdtest.h:8
FILE * out_logfile
Definition: utilities.c:72
mdtest_results_t * mdtest_run(int argc, char **argv, MPI_Comm world_com, FILE *out_logfile)
Definition: mdtest.c:2158