33 #include "valgrind/callgrind.h" 48 void endJob()
override ;
71 m_firstEvent = parameters.
getParameter<
int>(
"firstEvent");
93 #pragma GCC diagnostic push 94 #pragma GCC diagnostic ignored "-Wunused-but-set-variable" 99 if(m_evtCount >= m_firstEvent && (m_evtCount <= m_lastEvent || m_lastEvent == -1))
104 CALLGRIND_STOP_INSTRUMENTATION;
105 cout <<
"Stop Instr" << endl;
108 CALLGRIND_START_INSTRUMENTATION;
109 CALLGRIND_DUMP_STATS;
110 cout <<
"Start Instr" << endl;
113 CALLGRIND_DUMP_STATS;
114 cout <<
"Dump stat" << endl;
121 #pragma GCC diagnostic pop T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
Profiler(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override