Commit dc10c25b authored by fisaila's avatar fisaila

Corrected a bug: avoiding to use a epoch after finalize is called.


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/branches/darshan-florin-extensions-addcounters-datatypes@845 3b7491f3-a168-0410-bf4b-c445ed680a29
parent e8f5eb46
......@@ -2803,6 +2803,8 @@ static void darshan_reset_counters(){
void darshan_start_epoch(void)
{
if (!darshan_global_job)
return;
if (!getenv("DARSHAN_EPOCH"))
return;
else {
......@@ -2822,6 +2824,9 @@ void darshan_start_epoch(void)
void darshan_end_epoch(void)
{
if (!darshan_global_job)
return;
if (!getenv("DARSHAN_EPOCH"))
return;
else {
......
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