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
76
Issues
76
List
Boards
Labels
Milestones
Merge Requests
14
Merge Requests
14
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
01d0a980
Commit
01d0a980
authored
Jan 22, 2015
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactoring/bug fixes for darshan-runtime
parent
abf424f2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
189 additions
and
51 deletions
+189
-51
darshan-log-format.h
darshan-log-format.h
+19
-4
darshan-runtime/darshan-core.h
darshan-runtime/darshan-core.h
+1
-2
darshan-runtime/darshan.h
darshan-runtime/darshan.h
+0
-2
darshan-runtime/lib/darshan-core.c
darshan-runtime/lib/darshan-core.c
+169
-43
No files found.
darshan-log-format.h
View file @
01d0a980
...
...
@@ -19,7 +19,7 @@
#endif
/* update this on file format changes */
#define CP_VERSION "
2.05
"
#define CP_VERSION "
3.00
"
/* magic number for validating output files and checking byte order */
#define CP_MAGIC_NR 6567223
...
...
@@ -30,18 +30,33 @@
/* max length of exe string within job record (not counting '\0') */
#define CP_EXE_LEN (CP_JOB_RECORD_SIZE - sizeof(struct darshan_job) - 1)
typedef
uint64_t
darshan_record_id
;
struct
darshan_header
{
char
version_string
[
8
];
int64_t
magic_nr
;
uint8_t
comp_type
;
uint8_t
mod_count
;
};
struct
darshan_record
{
char
*
name
;
darshan_record_id
id
;
//int64_t rank; /* TODO: maybe rank doesn't go here ? */
};
/* statistics for the job as a whole */
#define DARSHAN_JOB_METADATA_LEN 1024
/* including null terminator! */
struct
darshan_job
{
char
version_string
[
8
];
int64_t
magic_nr
;
int64_t
uid
;
int64_t
start_time
;
int64_t
end_time
;
int64_t
nprocs
;
int64_t
jobid
;
char
metadata
[
DARSHAN_JOB_METADATA_LEN
];
char
metadata
[
DARSHAN_JOB_METADATA_LEN
];
/* TODO: what is this? */
};
#endif
/* __DARSHAN_LOG_FORMAT_H */
darshan-runtime/darshan-core.h
View file @
01d0a980
...
...
@@ -35,8 +35,7 @@ struct darshan_core_runtime
struct
darshan_core_record_ref
{
char
*
name
;
darshan_record_id
id
;
struct
darshan_record
rec
;
UT_hash_handle
hlink
;
};
...
...
darshan-runtime/darshan.h
View file @
01d0a980
...
...
@@ -44,8 +44,6 @@ typedef enum
DARSHAN_PNETCDF_MOD
,
}
darshan_module_id
;
typedef
uint64_t
darshan_record_id
;
struct
darshan_module_funcs
{
void
(
*
get_output_data
)(
...
...
darshan-runtime/lib/darshan-core.c
View file @
01d0a980
This diff is collapsed.
Click to expand it.
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