Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shane Snyder
darshan
Commits
b6807fcc
Commit
b6807fcc
authored
Aug 04, 2015
by
Shane Snyder
Browse files
forgot hdf5 log format header
parent
019fba22
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-hdf5-log-format.h
0 → 100644
View file @
b6807fcc
/*
* Copyright (C) 2015 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef __DARSHAN_HDF5_LOG_FORMAT_H
#define __DARSHAN_HDF5_LOG_FORMAT_H
#include
"darshan-log-format.h"
#define HDF5_COUNTERS \
/* count of HDF5 opens */
\
X(HDF5_OPENS) \
/* end of counters */
\
X(HDF5_NUM_INDICES)
#define HDF5_F_COUNTERS \
/* timestamp of first open */
\
X(HDF5_F_OPEN_TIMESTAMP) \
/* timestamp of last close */
\
X(HDF5_F_CLOSE_TIMESTAMP) \
/* end of counters*/
\
X(HDF5_F_NUM_INDICES)
#define X(a) a,
/* integer statistics for HDF5 file records */
enum
darshan_hdf5_indices
{
HDF5_COUNTERS
};
/* floating point statistics for HDF5 file records */
enum
darshan_hdf5_f_indices
{
HDF5_F_COUNTERS
};
#undef X
/* file record structure for HDF5 files. a record is created and stored for
* every HDF5 file opened by the original application. For the HDF5 module,
* the record includes:
* - a corresponding record identifier (created by hashing the file path)
* - the rank of the process which opened the file (-1 for shared files)
* - integer file I/O statistics (open, read/write counts, etc)
* - floating point I/O statistics (timestamps, cumulative timers, etc.)
*/
struct
darshan_hdf5_file
{
darshan_record_id
f_id
;
int64_t
rank
;
int64_t
counters
[
HDF5_NUM_INDICES
];
double
fcounters
[
HDF5_F_NUM_INDICES
];
};
#endif
/* __DARSHAN_HDF5_LOG_FORMAT_H */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment