darshan-mpiio-log-format.h 869 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/*
 *  (C) 2015 by Argonne National Laboratory.
 *      See COPYRIGHT in top-level directory.
 */

#ifndef __DARSHAN_MPIIO_LOG_FORMAT_H
#define __DARSHAN_MPIIO_LOG_FORMAT_H

#include "darshan-log-format.h"

enum darshan_mpiio_indices
{
    DARSHAN_MPIIO_INDEP_OPENS,   /* independent opens */
    DARSHAN_MPIIO_COLL_OPENS,    /* collective opens */
15
    DARSHAN_MPIIO_HINTS,    /* how many times hints were used */
16 17 18 19

    DARSHAN_MPIIO_NUM_INDICES,
};

20 21 22 23 24 25 26 27
enum darshan_mpiio_f_indices
{
    DARSHAN_MPIIO_F_META_TIME,      /* cumulative metadata time */
    DARSHAN_MPIIO_F_OPEN_TIMESTAMP, /* first open timestamp */

    DARSHAN_MPIIO_F_NUM_INDICES,
};

28 29 30 31 32
struct darshan_mpiio_file
{
    darshan_record_id f_id;
    int64_t rank;
    int64_t counters[DARSHAN_MPIIO_NUM_INDICES];
33
    double fcounters[DARSHAN_MPIIO_F_NUM_INDICES];
34 35 36
};

#endif /* __DARSHAN_MPIIO_LOG_FORMAT_H */