Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::FpeMonitor Class Reference

#include <acts/blob/sPHENIX/Plugins/FpeMonitoring/include/Acts/Plugins/FpeMonitoring/FpeMonitor.hpp>

+ Collaboration diagram for Acts::FpeMonitor:

Classes

struct  Buffer
 
struct  GlobalState
 
struct  Result
 

Public Member Functions

 FpeMonitor ()
 
 FpeMonitor (int excepts)
 
 FpeMonitor (FpeMonitor &&other)=default
 
 ~FpeMonitor ()
 
Resultresult ()
 
void consumeRecorded ()
 
void rearm ()
 

Static Public Member Functions

static std::string stackTraceToString (const boost::stacktrace::stacktrace &st, std::size_t depth)
 
static std::string getSourceLocation (const boost::stacktrace::frame &frame)
 

Private Member Functions

void enable ()
 
void disable ()
 

Static Private Member Functions

static void ensureSignalHandlerInstalled ()
 
static void signalHandler (int signal, siginfo_t *si, void *ctx)
 
static std::stack< FpeMonitor * > & stack ()
 
static GlobalStateglobalState ()
 

Private Attributes

int m_excepts = 0
 
Result m_result
 
Buffer m_buffer {65536}
 
boost::container::static_vector
< std::tuple< FpeType, void
*, std::size_t >, 128 > 
m_recorded
 

Detailed Description

Definition at line 40 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 40 of file FpeMonitor.hpp

Constructor & Destructor Documentation

Acts::FpeMonitor::FpeMonitor ( )
Acts::FpeMonitor::FpeMonitor ( int  excepts)
explicit
Acts::FpeMonitor::FpeMonitor ( FpeMonitor &&  other)
default
Acts::FpeMonitor::~FpeMonitor ( )

Member Function Documentation

void Acts::FpeMonitor::consumeRecorded ( )
void Acts::FpeMonitor::disable ( )
private
void Acts::FpeMonitor::enable ( )
private
static void Acts::FpeMonitor::ensureSignalHandlerInstalled ( )
staticprivate
static std::string Acts::FpeMonitor::getSourceLocation ( const boost::stacktrace::frame &  frame)
static

Referenced by ActsExamples::Sequencer::fpeMaskCount().

+ Here is the caller graph for this function:

static GlobalState& Acts::FpeMonitor::globalState ( )
staticprivate
void Acts::FpeMonitor::rearm ( )

Referenced by Acts::Python::addFramework(), and Acts::Test::BOOST_AUTO_TEST_CASE().

+ Here is the caller graph for this function:

Result& Acts::FpeMonitor::result ( )

Referenced by Acts::Python::addFramework(), and Acts::Test::BOOST_AUTO_TEST_CASE().

+ Here is the caller graph for this function:

static void Acts::FpeMonitor::signalHandler ( int  signal,
siginfo_t *  si,
void *  ctx 
)
staticprivate
static std::stack<FpeMonitor *>& Acts::FpeMonitor::stack ( )
staticprivate
static std::string Acts::FpeMonitor::stackTraceToString ( const boost::stacktrace::stacktrace &  st,
std::size_t  depth 
)
static

Referenced by ActsExamples::Sequencer::fpeReport(), and ActsExamples::Sequencer::run().

+ Here is the caller graph for this function:

Member Data Documentation

Buffer Acts::FpeMonitor::m_buffer {65536}
private

Definition at line 153 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 153 of file FpeMonitor.hpp

int Acts::FpeMonitor::m_excepts = 0
private

Definition at line 149 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 149 of file FpeMonitor.hpp

boost::container::static_vector<std::tuple<FpeType, void *, std::size_t>, 128> Acts::FpeMonitor::m_recorded
private

Definition at line 156 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 156 of file FpeMonitor.hpp

Result Acts::FpeMonitor::m_result
private

Definition at line 151 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 151 of file FpeMonitor.hpp


The documentation for this class was generated from the following file: