 |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef ATHENASERVICES_FPEAUDITOR_H
12 #define ATHENASERVICES_FPEAUDITOR_H 1
21 #include "Gaudi/Auditor.h"
30 class INamedInterface;
53 const EventContext& ctx)
override;
55 virtual void after(
const std::string&
event,
const std::string&
name,
65 void report_fpe(
const std::string&
step,
const std::string& caller);
108 #endif //> ATHENASERVICES_FPEAUDITOR_H
std::pair< int, int > FpeNode_t
Templated class that provides backwards compatibility for legacy MsgService manipulation methods.
void add_fpe_node()
add an fpe node
std::atomic< int > m_nexceptions
virtual void after(const std::string &event, const std::string &name, const EventContext &ctx, const StatusCode &sc) override
virtual ~FPEAuditor()
Destructor.
void report_fpe(const std::string &step, const std::string &caller)
report fpes which happened during step 'step' on behalf of 'caller'
POOL::TEvent event(POOL::TEvent::kClassAccess)
void pop_fpe_node()
pop an fpe node
::StatusCode StatusCode
StatusCode definition for legacy code.
std::list< FpeNode_t > FpeStack_t
virtual StatusCode finalize() override
FPEAuditor(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode initialize() override
Gaudi hooks.
unsigned int m_Nstacklines
virtual void before(const std::string &event, const std::string &name, const EventContext &ctx) override
Auditor hooks.
std::atomic< unsigned int > m_CountFPEs[FPEAUDITOR_ARRAYSIZE]
fenv_t m_env
The FP environment before we initialize.
static thread_local FpeStack_t s_fpe_stack
a stack of FPE exceptions which have been raised
unsigned int m_NstacktracesOnFPE