11 useCPUtime( ps.getUntrackedParameter<bool>(
"useCPUtime",
true) ),
12 cpu_timer(useCPUtime),
22 edm::LogError(
"TimerService") <<
"this process is NOT bound to a single CPU, the results of the TimerService may be undefined";
32 std::cout <<
"this process is NOT bound to a single CPU, the results of the TimerService may be undefined";
33 std::cout <<
"==========================================================\n";
35 std::cout <<
" Used " << (
useCPUtime ?
"CPU" :
"wall-clock") <<
"time for timing information\n";
36 std::cout <<
"==========================================================\n";
37 std::cout << std::flush;
43 descriptions.
add(
"TimerService", desc);
void postModule(const edm::ModuleDescription &iMod)
void preModule(const edm::ModuleDescription &iMod)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void watchPostModule(PostModule::slot_type const &iSlot)
void watchPreModule(PreModule::slot_type const &iSlot)
TimerService(const edm::ParameterSet &, edm::ActivityRegistry &iAR)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
sigc::signal< void, const edm::ModuleDescription &, double > newMeasurementSignal
static bool bindToCurrentCpu()