darshan-core.h 676 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
/*
 *  (C) 2014 by Argonne National Laboratory.
 *      See COPYRIGHT in top-level directory.
 */

#ifndef __DARSHAN_CORE_H
#define __DARSHAN_CORE_H

#include <unistd.h>
#include <sys/types.h>
#include <stdint.h>

13
14
15
#include "darshan.h"

struct darshan_core_module
16
{
17
    darshan_module_id id;
18
    char name[DARSHAN_MOD_NAME_LEN+1];
19
20
21
    struct darshan_module_funcs mod_funcs;
};

22
/* in memory structure to keep up with job level data */
23
/* TODO: trailing data ? */
24
25
26
struct darshan_core_job_runtime
{
    struct darshan_job log_job;
27
    struct darshan_core_module* mod_array[DARSHAN_MAX_MODS];
28
29
30
    char exe[CP_EXE_LEN+1];
    double wtime_offset;
};
31

32
#endif /* __DARSHAN_CORE_H */