Skip to content
Snippets Groups Projects
Commit 19d59047 authored by Cedric CAFFY's avatar Cedric CAFFY
Browse files

Tape session finished message now tells if the tape has been mounted or not...

Tape session finished message now tells if the tape has been mounted or not via the boolean wasTapeMounted
parent 32a5d881
No related branches found
No related tags found
No related merge requests found
...@@ -175,6 +175,13 @@ protected: ...@@ -175,6 +175,13 @@ protected:
/** Time beetwen fineshed tape thread and finished disk threads */ /** Time beetwen fineshed tape thread and finished disk threads */
const double drainingTime = const double drainingTime =
deliveryTime > totalTime?deliveryTime-totalTime: 0.0; deliveryTime > totalTime?deliveryTime-totalTime: 0.0;
bool wasTapeMounted = true;
if(m_stats.mountTime == 0.0){
//Tape was not mounted, we add a message to tell that no physical mount has been
//triggered
wasTapeMounted = false;
}
paramList.push_back(Param("wasTapeMounted",wasTapeMounted));
paramList.push_back(Param("mountTime", m_stats.mountTime)); paramList.push_back(Param("mountTime", m_stats.mountTime));
paramList.push_back(Param("positionTime", m_stats.positionTime)); paramList.push_back(Param("positionTime", m_stats.positionTime));
paramList.push_back(Param("waitInstructionsTime", m_stats.waitInstructionsTime)); paramList.push_back(Param("waitInstructionsTime", m_stats.waitInstructionsTime));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment