1 #ifndef FWCore_Services_Memory_h
2 #define FWCore_Services_Memory_h
34 class ModuleDescription;
79 void postFork(
unsigned int,
unsigned int);
150 friend std::ostream &
operator<< (std::ostream & os,
202 std::map<std::string, std::string> &
m)
const;
219 void set (
double deltaV,
bool early);
222 friend std::ostream &
operator<< (std::ostream & os,
std::map< std::string, SignificantModule > SignificantModulesMap
std::string eventStatOutput(std::string title, SignificantEvent const &e) const
void postFork(unsigned int, unsigned int)
SignificantEvent eventDeltaRssT1_
void preSourceConstruction(const ModuleDescription &)
std::pair< ALIstring, ALIstring > pss
friend std::ostream & operator<<(std::ostream &os, SimpleMemoryCheck::SignificantEvent const &se)
size_t smapsLineBufferLen_
std::atomic< bool > measurementUnderway_
SignificantEvent eventT1_
void updateEventStats(edm::EventID const &e)
ProcInfoFetcher piFetcher_
std::atomic< bool > moduleMeasurementUnderway_
SignificantEvent eventRssT2_
SignificantEvent eventL1_
void set(double deltaV, bool early)
SignificantEvent eventT3_
edm::EventID eventMaxDeltaV
void andPrint(const std::string &type, const std::string &mdlabel, const std::string &mdname) const
std::atomic< unsigned int > moduleStreamID_
SignificantEvent eventRssT3_
std::ostream & operator<<(std::ostream &os, SimpleMemoryCheck::SignificantEvent const &se)
void set(double deltaV, double deltaR, edm::EventID const &e, SimpleMemoryCheck *t)
bool monitorPssAndPrivate_
SignificantEvent eventR1_
SignificantEvent eventDeltaRssT3_
bool moduleSummaryRequested_
double deltaR(double eta1, double eta2, double phi1, double phi2)
smapsInfo(double private_sz, double pss_sz)
bool jobReportOutputOnly_
void updateAndPrint(const std::string &type, const std::string &mdlabel, const std::string &mdname)
bool operator==(const smapsInfo &p) const
SignificantEvent eventR2_
void preModule(StreamContext const &, ModuleCallingContext const &)
void updateModuleMemoryStats(SignificantModule &m, double dv, edm::EventID const &)
std::atomic< int > count_
SignificantEvent eventL2_
SignificantEvent eventDeltaRssT2_
void postEvent(StreamContext const &)
std::string mallOutput(std::string title, size_t const &n) const
void postSourceConstruction(const ModuleDescription &)
SignificantEvent eventT2_
void postSourceEvent(StreamID)
void postModuleBeginJob(const ModuleDescription &)
volatile std::atomic< bool > shutdown_flag false
double averageGrowthRate(double current, double past, int count)
SimpleMemoryCheck(const ParameterSet &, ActivityRegistry &)
SignificantModulesMap modules_
SignificantEvent eventRssT1_
void postModule(StreamContext const &, ModuleCallingContext const &)
void postModuleConstruction(const ModuleDescription &)
bool operator>(const smapsInfo &p) const
bool monitorPssAndPrivate
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::atomic< unsigned int > moduleID_