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 {
21 
22 typedef struct
23 {
24  double rate[MDTEST_LAST_NUM]; /* Calculated throughput */
25  double time[MDTEST_LAST_NUM]; /* Time */
26  uint64_t items[MDTEST_LAST_NUM]; /* Number of operations done */
27 
28  /* Statistics when hitting the stonewall */
29  double stonewall_time[MDTEST_LAST_NUM]; /* runtime until completion / hit of the stonewall */
30  uint64_t stonewall_last_item[MDTEST_LAST_NUM]; /* Max number of items a process has accessed */
31  uint64_t stonewall_item_min[MDTEST_LAST_NUM]; /* Min number of items a process has accessed */
32  uint64_t stonewall_item_sum[MDTEST_LAST_NUM]; /* Total number of items accessed until stonewall */
34 
35 mdtest_results_t * mdtest_run(int argc, char **argv, MPI_Comm world_com, FILE * out_logfile);
36 
37 #endif
mdtest_test_num_t
Definition: mdtest.h:8
static uint64_t items
Definition: mdtest.c:124
mdtest_results_t * mdtest_run(int argc, char **argv, MPI_Comm world_com, FILE *out_logfile)
Definition: mdtest.c:2169
FILE * out_logfile
Definition: utilities.c:63