darshan.h 694 Bytes
Newer Older
1
2
3
4
5
/*
 *  (C) 2009 by Argonne National Laboratory.
 *      See COPYRIGHT in top-level directory.
 */

6
7
8
9
10
11
12
13
14
#ifndef __DARSHAN_H
#define __DARSHAN_H

#include <unistd.h>
#include <sys/types.h>
#include <stdint.h>
#include <mpi.h>
#include "darshan-log-format.h"

15
typedef uint64_t darshan_file_id;
16

17
struct darshan_module_funcs
18
{
19
20
    void (*prepare_for_shutdown)(void);
    void (*get_output_data)(void **, int);
21
22
};

23
24
25
26
void darshan_core_register_module(
    char *name,
    struct darshan_module_funcs *funcs,
    int *runtime_mem_limit);
27

28
29
30
31
32
void darshan_core_lookup_id(
    void *name,
    int len,
    int printable_flag,
    darshan_file_id *id);
33

34
double darshan_core_wtime(void);
35
36

#endif /* __DARSHAN_H */