 |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef PERFMONTESTS_PERFMONTESTCPUCRUNCHERALG_H
12 #define PERFMONTESTS_PERFMONTESTCPUCRUNCHERALG_H
20 #include "GaudiKernel/ServiceHandle.h"
38 double burn(
unsigned long nIterations);
46 Gaudi::Property<float>
m_meanCpuTime{
this,
"MeanCpu", 100.,
"Mean (in ms) of CPU time to consume."};
49 Gaudi::Property<float>
m_rmsCpuTime{
this,
"RmsCpu", 5.,
"RMS (in ms) of CPU time to consume."};
59 #endif //> PERFMONTESTS_PERFMONTESTCPUCRUNCHERALG_H
virtual StatusCode execute() override
double burn(unsigned long nIterations)
Gaudi::Property< float > m_rmsCpuTime
Property to setup the RMS (in ms) of CPU time to consume.
std::normal_distribution< double > m_distribution
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< float > m_meanCpuTime
Property to setup the mean (in ms) of CPU time to consume.
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.
virtual StatusCode initialize() override
AthAlgorithm()
Default constructor:
std::default_random_engine m_random
Random number setup.