Skip to content
Snippets Groups Projects
Commit 623c5da7 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'master-perfmonmt-fit-lower-bound' into 'master'

PerfMonComps: Make the lower limit for the memory fit configurable

See merge request atlas/athena!48448
parents 1fda6daa c875f2bd
No related branches found
No related tags found
No related merge requests found
...@@ -509,7 +509,7 @@ void PerfMonMTSvc::report2Log_EventLevel() { ...@@ -509,7 +509,7 @@ void PerfMonMTSvc::report2Log_EventLevel() {
} }
m_eventLoopMsgCounter++; m_eventLoopMsgCounter++;
// Add to leak estimate // Add to leak estimate
if (it.first >= 25) { if (it.first >= m_memFitLowerLimit) {
m_fit_vmem.addPoint(it.first, it.second.mem_stats.at("vmem")); m_fit_vmem.addPoint(it.first, it.second.mem_stats.at("vmem"));
m_fit_pss.addPoint(it.first, it.second.mem_stats.at("pss")); m_fit_pss.addPoint(it.first, it.second.mem_stats.at("pss"));
} }
...@@ -562,7 +562,7 @@ void PerfMonMTSvc::report2Log_Summary() { ...@@ -562,7 +562,7 @@ void PerfMonMTSvc::report2Log_Summary() {
ATH_MSG_INFO(format("%1% %|35t|%2% ") % "Leak estimate per event Pss: " % scaleMem(m_fit_pss.slope())); ATH_MSG_INFO(format("%1% %|35t|%2% ") % "Leak estimate per event Pss: " % scaleMem(m_fit_pss.slope()));
ATH_MSG_INFO(" >> Estimated using the last " << m_fit_vmem.nPoints() ATH_MSG_INFO(" >> Estimated using the last " << m_fit_vmem.nPoints()
<< " measurements from the Event Level Monitoring"); << " measurements from the Event Level Monitoring");
ATH_MSG_INFO(" >> Events prior to the first 25 are omitted..."); ATH_MSG_INFO(" >> Events prior to the first " << m_memFitLowerLimit.toString() << " are omitted...");
} }
ATH_MSG_INFO("======================================================================================="); ATH_MSG_INFO("=======================================================================================");
......
...@@ -138,6 +138,10 @@ class PerfMonMTSvc : virtual public IPerfMonMTSvc, virtual public IIncidentListe ...@@ -138,6 +138,10 @@ class PerfMonMTSvc : virtual public IPerfMonMTSvc, virtual public IIncidentListe
Gaudi::Property<std::string> m_checkPointType{ Gaudi::Property<std::string> m_checkPointType{
this, "checkPointType", "Arithmetic", this, "checkPointType", "Arithmetic",
"Type of the check point sequence: Arithmetic(0, k, 2k...) or Geometric(0,k,k^2...)."}; "Type of the check point sequence: Arithmetic(0, k, 2k...) or Geometric(0,k,k^2...)."};
/// Lower limit (in number of events) for the memory fit
Gaudi::Property<uint64_t> m_memFitLowerLimit{
this, "memFitLowerLimit", 25,
"Lower limit (in number of events) for the memory fit."};
/// Frequency of event level monitoring /// Frequency of event level monitoring
Gaudi::Property<uint64_t> m_checkPointFactor{ Gaudi::Property<uint64_t> m_checkPointFactor{
this, "checkPointFactor", 50, this, "checkPointFactor", 50,
......
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