31 #include "valgrind/callgrind.h" 45 void endJob()
override;
67 m_firstEvent = parameters.
getParameter<
int>(
"firstEvent");
83 #pragma GCC diagnostic push 84 #pragma GCC diagnostic ignored "-Wunused-but-set-variable" 87 if (m_evtCount >= m_firstEvent && (m_evtCount <= m_lastEvent || m_lastEvent == -1)) {
90 CALLGRIND_STOP_INSTRUMENTATION;
91 cout <<
"Stop Instr" << endl;
94 CALLGRIND_START_INSTRUMENTATION;
96 cout <<
"Start Instr" << endl;
100 cout <<
"Dump stat" << endl;
105 #pragma GCC diagnostic pop T getParameter(std::string const &) const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
Profiler(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override