![]() |
![]() |
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 | |
![]() | |
CPUServiceBase () | |
CPUServiceBase (const CPUServiceBase &)=delete | |
const CPUServiceBase & | operator= (const CPUServiceBase &)=delete |
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 | getModelFromCPUFeatures () |
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 & | iPS, |
ActivityRegistry & | iRegistry | ||
) |
Definition at line 152 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 208 of file CPU.cc.
References getAverageSpeed(), getModels(), info(), and parseCPUInfo().
|
private |
|
static |
Definition at line 159 of file CPU.cc.
References edm::ConfigurationDescriptions::add(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 307 of file CPU.cc.
References mps_splice::entry, and info().
Referenced by cpuInfo(), and postEndJob().
|
private |
Definition at line 264 of file CPU.cc.
References dqm-mbProfile::format, info(), ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi::model, AlCaHLTBitMon_QueryRunRegistry::string, and makeListRunsInFiles::strings.
Referenced by getModels().
|
private |
Definition at line 284 of file CPU.cc.
References mps_splice::entry, getModelFromCPUFeatures(), info(), ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi::model, and contentValuesCheck::ss.
Referenced by cpuInfo(), and postEndJob().
|
private |
Definition at line 219 of file CPU.cc.
References visDQMUpload::buf, info(), AlCaHLTBitMon_QueryRunRegistry::string, protons_cff::time, unpackBuffers-CaloStage2::token, trim(), and relativeConstraints::value.
Referenced by cpuInfo(), and postEndJob().
|
private |
Definition at line 165 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 59 of file CPU.cc.
Referenced by postEndJob().