darshan-mpiio-log-format.h 3.67 KB
Newer Older
1
/*
2 3 4
 * Copyright (C) 2015 University of Chicago.
 * See COPYRIGHT notice in top-level directory.
 *
5 6 7 8 9 10 11 12 13
 */

#ifndef __DARSHAN_MPIIO_LOG_FORMAT_H
#define __DARSHAN_MPIIO_LOG_FORMAT_H

#include "darshan-log-format.h"

enum darshan_mpiio_indices
{
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
    MPIIO_INDEP_OPENS,  /* count of MPI independent opens */
    MPIIO_COLL_OPENS,   /* count of MPI collective opens */
    MPIIO_INDEP_READS,  /* count of MPI independent reads */
    MPIIO_INDEP_WRITES, /* count of MPI independent writes */
    MPIIO_COLL_READS,   /* count of MPI collective reads */
    MPIIO_COLL_WRITES,  /* count of MPI collective writes */
    MPIIO_SPLIT_READS,  /* count of MPI split collective reads */
    MPIIO_SPLIT_WRITES, /* count of MPI split collective writes */
    MPIIO_NB_READS,     /* count of MPI nonblocking reads */
    MPIIO_NB_WRITES,    /* count of MPI nonblocking writes */
    MPIIO_SYNCS,        /* count of MPI file syncs */
    MPIIO_HINTS,        /* count of MPI hints used */
    MPIIO_VIEWS,        /* count of MPI set view calls */
    /* type categories */
    MPIIO_COMBINER_NAMED,           /* count of each MPI datatype category */
    MPIIO_COMBINER_DUP,
    MPIIO_COMBINER_CONTIGUOUS,
    MPIIO_COMBINER_VECTOR,
    MPIIO_COMBINER_HVECTOR_INTEGER,
    MPIIO_COMBINER_HVECTOR,
    MPIIO_COMBINER_INDEXED,
    MPIIO_COMBINER_HINDEXED_INTEGER,
    MPIIO_COMBINER_HINDEXED,
    MPIIO_COMBINER_INDEXED_BLOCK,
    MPIIO_COMBINER_STRUCT_INTEGER,
    MPIIO_COMBINER_STRUCT,
    MPIIO_COMBINER_SUBARRAY,
    MPIIO_COMBINER_DARRAY,
    MPIIO_COMBINER_F90_REAL,
    MPIIO_COMBINER_F90_COMPLEX,
    MPIIO_COMBINER_F90_INTEGER,
    MPIIO_COMBINER_RESIZED,
46
#if 0
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
    /* buckets */
    MPIIO_SIZE_READ_AGG_0_100,       /* count of MPI read size ranges */
    MPIIO_SIZE_READ_AGG_100_1K,
    MPIIO_SIZE_READ_AGG_1K_10K,
    MPIIO_SIZE_READ_AGG_10K_100K,
    MPIIO_SIZE_READ_AGG_100K_1M,
    MPIIO_SIZE_READ_AGG_1M_4M,
    MPIIO_SIZE_READ_AGG_4M_10M,
    MPIIO_SIZE_READ_AGG_10M_100M,
    MPIIO_SIZE_READ_AGG_100M_1G,
    MPIIO_SIZE_READ_AGG_1G_PLUS,
    /* buckets */
    MPIIO_SIZE_WRITE_AGG_0_100,      /* count of MPI write size ranges */
    MPIIO_SIZE_WRITE_AGG_100_1K,
    MPIIO_SIZE_WRITE_AGG_1K_10K,
    MPIIO_SIZE_WRITE_AGG_10K_100K,
    MPIIO_SIZE_WRITE_AGG_100K_1M,
    MPIIO_SIZE_WRITE_AGG_1M_4M,
    MPIIO_SIZE_WRITE_AGG_4M_10M,
    MPIIO_SIZE_WRITE_AGG_10M_100M,
    MPIIO_SIZE_WRITE_AGG_100M_1G,
    MPIIO_SIZE_WRITE_AGG_1G_PLUS,
    /* buckets */
    MPIIO_EXTENT_READ_0_100,          /* count of MPI read extent ranges */
    MPIIO_EXTENT_READ_100_1K,
    MPIIO_EXTENT_READ_1K_10K,
    MPIIO_EXTENT_READ_10K_100K,
    MPIIO_EXTENT_READ_100K_1M,
    MPIIO_EXTENT_READ_1M_4M,
    MPIIO_EXTENT_READ_4M_10M,
    MPIIO_EXTENT_READ_10M_100M,
    MPIIO_EXTENT_READ_100M_1G,
    MPIIO_EXTENT_READ_1G_PLUS,
    /* buckets */
    MPIIO_EXTENT_WRITE_0_100,         /* count of MPI write extent ranges */
    MPIIO_EXTENT_WRITE_100_1K,
    MPIIO_EXTENT_WRITE_1K_10K,
    MPIIO_EXTENT_WRITE_10K_100K,
    MPIIO_EXTENT_WRITE_100K_1M,
    MPIIO_EXTENT_WRITE_1M_4M,
    MPIIO_EXTENT_WRITE_4M_10M,
    MPIIO_EXTENT_WRITE_10M_100M,
    MPIIO_EXTENT_WRITE_100M_1G,
    MPIIO_EXTENT_WRITE_1G_PLUS,
#endif
92

93
    MPIIO_NUM_INDICES,
94 95
};

96 97
enum darshan_mpiio_f_indices
{
98 99 100 101 102 103 104 105 106 107 108
    MPIIO_F_OPEN_TIMESTAMP,
#if 0
    MPIIO_F_READ_START_TIMESTAMP,
    MPIIO_F_WRITE_START_TIMESTAMP,
    MPIIO_F_READ_END_TIMESTAMP,
    MPIIO_F_WRITE_END_TIMESTAMP,
#endif
    MPIIO_F_CLOSE_TIMESTAMP,
    MPIIO_F_READ_TIME,
    MPIIO_F_WRITE_TIME,
    MPIIO_F_META_TIME,
109

110
    MPIIO_F_NUM_INDICES,
111 112
};

113 114 115 116
struct darshan_mpiio_file
{
    darshan_record_id f_id;
    int64_t rank;
117 118
    int64_t counters[MPIIO_NUM_INDICES];
    double fcounters[MPIIO_F_NUM_INDICES];
119 120 121
};

#endif /* __DARSHAN_MPIIO_LOG_FORMAT_H */