Go to the documentation of this file.
56 for (
long i = 0; i <=
m_loops; ++i ) { result += sin( i ); }
62 for (
long i = 0; i <=
m_loops; ++i ) { result += cos( i ); }
68 for (
long i = 0; i <=
m_loops; ++i ) { result += tan( i ); }
75 for (
long i = 0; i <=
m_loops; ++i ) { result += tan( i ); }
82 if (
name() ==
"Alg1" ) {
84 }
else if (
name() ==
"Alg2" ) {
const std::string & name() const override
The identifying name of the algorithm object.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
StatusCode execute() override
Algorithm execution.
Alias for backward compatibility.
MSG::Level msgLevel() const
get the cached level (originally extracted from the embedded MsgStream)
Gaudi::Property< long > m_loops
Algorithm which consume a lot of CPU.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode finalize() override
Algorithm finalization.
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
StatusCode initialize() override
Algorithm initialization.
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.