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
#define DEFINE_FWK_MODULE(type)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
Profiler(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
T getParameter(std::string const &) const