darshan-mpiio-log-format.h 874 Bytes
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 14 15
 */

#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 */
16
    DARSHAN_MPIIO_HINTS,    /* how many times hints were used */
17 18 19 20

    DARSHAN_MPIIO_NUM_INDICES,
};

21 22 23 24 25 26 27 28
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,
};

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

#endif /* __DARSHAN_MPIIO_LOG_FORMAT_H */