Commit 0459f8ff authored by Shane Snyder's avatar Shane Snyder
Browse files

add a partial flag to darshan's header

this indicates whether the log file is complete or only partially
parent 928fdff4
......@@ -99,6 +99,7 @@ struct darshan_header
char version_string[8];
int64_t magic_nr;
unsigned char comp_type;
unsigned char partial_flag;
struct darshan_log_map rec_map;
struct darshan_log_map mod_map[DARSHAN_MAX_MODS];
......@@ -1566,9 +1566,14 @@ void darshan_core_register_record(
/* record not found -- add it to the hash if we aren't already tracking the
* maximum number of records
if(darshan_core->rec_count >= DARSHAN_CORE_MAX_RECORDS)
/* if we are already tracking the max records, set a flag to indicate
* that this log file has partial results
darshan_core->log_header.partial_flag = 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment