ATLAS Offline Software
Loading...
Searching...
No Matches
PerfMonTestErroneousAlg.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
7// PerfMonTestErroneousAlg.h
8// Header file for class PerfMonTest::ErroneousAlg
9// Author: S.Binet<binet@cern.ch>
11#ifndef PERFMONTESTS_PERFMONTESTERRONEOUSALG_H
12#define PERFMONTESTS_PERFMONTESTERRONEOUSALG_H
13
14// STL includes
15#include <string>
16#include <list>
17#include <vector>
18
19
20// FrameWork includes
22#include "GaudiKernel/ServiceHandle.h"
23
24namespace PerfMonTest {
25
27{
28
29 public:
31
32 virtual StatusCode execute() override;
33
34 private:
35
38 bool invalidRead();
39 bool mismatchedFree();
40
42 {
43 return not shouldIJump;
44 }
45
46};
47
48
49} //> end namespace PerfMonTest
50
51#endif //> PERFMONTESTS_PERFMONTESTERRONEOUSALG_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute() override
bool shouldIJump(bool shouldIJump)
bool jumpOnUninitializedValue()
three member functions which will exhibit faulty behaviour
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.