Public Member Functions | |
CPU (ParameterSet const &, ActivityRegistry &) | |
bool | cpuInfo (std::string &models, double &avgSpeed) override |
CPU information - the models present and average speed. More... | |
~CPU () override | |
Public Member Functions inherited from edm::CPUServiceBase | |
CPUServiceBase () | |
virtual | ~CPUServiceBase () |
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
bool | cpuInfoImpl (std::string &models, double &avgSpeed, Service< JobReport > *reportSvc) |
double | getAverageSpeed (const std::vector< std::pair< std::string, std::string >> &info) |
std::string | getModels (const std::vector< std::pair< std::string, std::string >> &info) |
bool | parseCPUInfo (std::vector< std::pair< std::string, std::string >> &info) |
void | postEndJob () |
Private Attributes | |
const bool | reportCPUProperties_ |
edm::service::CPU::CPU | ( | ParameterSet const & | , |
ActivityRegistry & | |||
) |
Definition at line 140 of file CPU.cc.
References postEndJob(), and edm::ActivityRegistry::watchPostEndJob().
|
overridevirtual |
CPU information - the models present and average speed.
Implements edm::CPUServiceBase.
Definition at line 196 of file CPU.cc.
References getAverageSpeed(), getModels(), info(), and parseCPUInfo().
|
private |
|
static |
Definition at line 147 of file CPU.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::addUntracked().
|
private |
Definition at line 270 of file CPU.cc.
References mps_splice::entry, and info().
Referenced by cpuInfo(), and postEndJob().
|
private |
Definition at line 252 of file CPU.cc.
References mps_splice::entry, and info().
Referenced by cpuInfo(), and postEndJob().
|
private |
Definition at line 207 of file CPU.cc.
References info(), AlCaHLTBitMon_QueryRunRegistry::string, ntuplemaker::time, trim(), and relativeConstraints::value.
Referenced by cpuInfo(), and postEndJob().
|
private |
Definition at line 153 of file CPU.cc.
References edm::service::d2str(), mps_splice::entry, getAverageSpeed(), getModels(), edm::service::i2str(), info(), parseCPUInfo(), reportCPUProperties_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CPU().
|
private |
Definition at line 48 of file CPU.cc.
Referenced by postEndJob().