1 #ifndef GAUDISVC_CPUCRUNCHSVC_H 2 #define GAUDISVC_CPUCRUNCHSVC_H 1 33 this,
"NIterationsVect", {},
"Number of iterations for the calibration."};
36 "Minimum number of milliseconds to do calibration"};
39 "Calibration correction factor to take into account things like turbo boost"};
unsigned int getNCaliIters(std::chrono::microseconds runtime) const
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
const std::string & name() const override
Retrieve name of the service.
Gaudi::Property< unsigned int > m_minCalibTime
Implementation of property with value of concrete type.
void findPrimes(unsigned int) const
This class is used for returning status codes from appropriate routines.
Gaudi::Property< bool > m_shortCalib
Gaudi::Property< float > m_corrFact
Gaudi::Property< int > m_numCalibRuns
Base class used to extend a class implementing other interfaces.
virtual StatusCode initialize() override
std::vector< unsigned int > m_times_vect
CPUCrunchSvc(const std::string &name, ISvcLocator *svc)
std::chrono::milliseconds crunch_for(const std::chrono::milliseconds &crunchtime) const override
Gaudi::Property< std::vector< unsigned int > > m_niters_vect