34 #include "valgrind/callgrind.h"
49 virtual void endJob() ;
72 m_firstEvent = parameters.
getParameter<
int>(
"firstEvent");
94 #pragma GCC diagnostic push
95 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
100 if(m_evtCount >= m_firstEvent && (m_evtCount <= m_lastEvent || m_lastEvent == -1))
105 CALLGRIND_STOP_INSTRUMENTATION;
106 cout <<
"Stop Instr" << endl;
109 CALLGRIND_START_INSTRUMENTATION;
110 CALLGRIND_DUMP_STATS;
111 cout <<
"Start Instr" << endl;
114 CALLGRIND_DUMP_STATS;
115 cout <<
"Dump stat" << endl;
122 #pragma GCC diagnostic pop
virtual void analyze(const edm::Event &, const edm::EventSetup &)
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
Profiler(const edm::ParameterSet &)