Public Member Functions | |
CUDAMonitoringService (edm::ParameterSet const &iConfig, edm::ActivityRegistry &iRegistry) | |
void | postEvent (edm::StreamContext const &sc) |
void | postModuleBeginStream (edm::StreamContext const &, edm::ModuleCallingContext const &mcc) |
void | postModuleConstruction (edm::ModuleDescription const &desc) |
~CUDAMonitoringService ()=default | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
int | numberOfDevices_ = 0 |
Definition at line 21 of file CUDAMonitoringService.cc.
CUDAMonitoringService::CUDAMonitoringService | ( | edm::ParameterSet const & | iConfig, |
edm::ActivityRegistry & | iRegistry | ||
) |
Definition at line 36 of file CUDAMonitoringService.cc.
References CUDAService::enabled(), CUDAService::numberOfDevices(), numberOfDevices_, postEvent(), postModuleBeginStream(), postModuleConstruction(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostModuleBeginStream(), and edm::ActivityRegistry::watchPostModuleConstruction().
|
default |
|
static |
Definition at line 54 of file CUDAMonitoringService.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), and edm::ConfigurationDescriptions::setComment().
void CUDAMonitoringService::postEvent | ( | edm::StreamContext const & | sc | ) |
Definition at line 101 of file CUDAMonitoringService.cc.
References dqm-mbProfile::log, and numberOfDevices_.
Referenced by CUDAMonitoringService().
void CUDAMonitoringService::postModuleBeginStream | ( | edm::StreamContext const & | , |
edm::ModuleCallingContext const & | mcc | ||
) |
Definition at line 94 of file CUDAMonitoringService.cc.
References dqm-mbProfile::log, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), and numberOfDevices_.
Referenced by CUDAMonitoringService().
void CUDAMonitoringService::postModuleConstruction | ( | edm::ModuleDescription const & | desc | ) |
Definition at line 88 of file CUDAMonitoringService.cc.
References dqm-mbProfile::log, edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), and numberOfDevices_.
Referenced by CUDAMonitoringService().
|
private |
Definition at line 33 of file CUDAMonitoringService.cc.
Referenced by CUDAMonitoringService(), postEvent(), postModuleBeginStream(), and postModuleConstruction().