32 std::chrono::milliseconds
crunch_for(
const std::chrono::milliseconds& crunchtime )
const override;
36 unsigned int getNCaliIters( std::chrono::microseconds runtime )
const;
42 this,
"NIterationsVect", {},
"Number of iterations for the calibration." };
45 "Minimum number of milliseconds to do calibration" };
48 "Calibration correction factor to take into account things like turbo boost" };
std::vector< unsigned int > m_times_vect
virtual StatusCode initialize() override
Gaudi::Property< int > m_numCalibRuns
Gaudi::Property< bool > m_shortCalib
CPUCrunchSvc(const std::string &name, ISvcLocator *svc)
Gaudi::Property< std::vector< unsigned int > > m_niters_vect
void findPrimes(unsigned int) const
Gaudi::Property< float > m_corrFact
Gaudi::Property< unsigned int > m_minCalibTime
std::chrono::milliseconds crunch_for(const std::chrono::milliseconds &crunchtime) const override
unsigned int getNCaliIters(std::chrono::microseconds runtime) const
Implementation of property with value of concrete type.
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.
This class is used for returning status codes from appropriate routines.
Base class used to extend a class implementing other interfaces.