Public Member Functions | |
CPU (ParameterSet const &, ActivityRegistry &) | |
virtual bool | cpuInfo (std::string &models, double &avgSpeed) override |
CPU information - the models present and average speed. More... | |
~CPU () | |
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 144 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 206 of file CPU.cc.
References getAverageSpeed(), getModels(), info(), and parseCPUInfo().
|
private |
|
static |
Definition at line 155 of file CPU.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::addUntracked().
|
private |
Definition at line 277 of file CPU.cc.
References mps_splice::entry, and info().
Referenced by cpuInfo(), and postEndJob().
|
private |
Definition at line 260 of file CPU.cc.
References mps_splice::entry, and info().
Referenced by cpuInfo(), and postEndJob().
|
private |
Definition at line 216 of file CPU.cc.
References info(), AlCaHLTBitMon_QueryRunRegistry::string, ntuplemaker::time, and relativeConstraints::value.
Referenced by cpuInfo(), and postEndJob().
|
private |
Definition at line 161 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 49 of file CPU.cc.
Referenced by postEndJob().