Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
73
Issues
73
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
faa3101f
Commit
faa3101f
authored
Jun 29, 2015
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X-macro mod identifiers for consistent ordering
parent
347a0744
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
darshan-log-format.h
darshan-log-format.h
+15
-11
No files found.
darshan-log-format.h
View file @
faa3101f
...
...
@@ -33,28 +33,32 @@
typedef
uint64_t
darshan_record_id
;
#define DARSHAN_MAX_MODS 16
#define DARSHAN_MODULE_IDS \
X(DARSHAN_NULL_MOD, "NULL") \
X(DARSHAN_POSIX_MOD, "POSIX") \
X(DARSHAN_MPIIO_MOD, "MPI-IO") \
X(DARSHAN_HDF5_MOD, "HDF5") \
X(DARSHAN_PNETCDF_MOD, "PNETCDF")
/* unique identifiers to distinguish between available darshan modules */
/* NOTES: - valid ids range from [0...DARSHAN_MAX_MODS-1]
* - order of ids control module shutdown order (and consequently, order in log file)
*/
#define
DARSHAN_MAX_MODS 16
#define
X(a, b) a,
typedef
enum
{
DARSHAN_NULL_MOD
=
0
,
DARSHAN_POSIX_MOD
,
DARSHAN_MPIIO_MOD
,
DARSHAN_HDF5_MOD
,
DARSHAN_PNETCDF_MOD
,
DARSHAN_MODULE_IDS
}
darshan_module_id
;
#undef X
/* module name strings */
#define X(a, b) b,
static
char
*
const
darshan_module_names
[]
=
{
"NULL"
,
"POSIX"
,
"MPI-IO"
,
"HDF5"
,
"PNETCDF"
DARSHAN_MODULE_IDS
};
#undef X
/* the darshan_log_map structure is used to indicate the location of
* specific module data in a Darshan log. Note that 'off' and 'len' are
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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