The Gaudi Framework
master (37c0b60a)
|
Public Member Functions | |
void | before (StandardEventType evt, INamedInterface *alg) override |
void | after (StandardEventType evt, INamedInterface *alg, const StatusCode &sc) override |
StatusCode | initialize () override |
StatusCode | finalize () override |
int | is_nehalem () |
PerfMonAuditor (const std::string &name, ISvcLocator *pSvc) | |
virtual | ~PerfMonAuditor () |
void | after (StandardEventType, INamedInterface *, const StatusCode &) override |
void | after (StandardEventType, const std::string &, const StatusCode &) override |
void | after (CustomEventTypeRef, INamedInterface *, const StatusCode &) override |
void | after (CustomEventTypeRef, const std::string &, const StatusCode &) override |
void | before (StandardEventType, INamedInterface *) override |
The following methods are meant to be implemented by the child class... More... | |
void | before (StandardEventType, const std::string &) override |
void | before (CustomEventTypeRef, INamedInterface *) override |
void | before (CustomEventTypeRef, const std::string &) override |
Public Member Functions inherited from Auditor | |
Auditor (std::string name, ISvcLocator *svcloc) | |
Constructor. More... | |
Auditor (const Auditor &a)=delete | |
Auditor & | operator= (const Auditor &rhs)=delete |
StatusCode | sysInitialize () override |
Initialization method invoked by the framework. More... | |
StatusCode | sysFinalize () override |
Finalization method invoked by the framework. More... | |
void | before (StandardEventType, INamedInterface *) override |
The following methods are meant to be implemented by the child class... More... | |
void | before (StandardEventType, const std::string &) override |
void | before (CustomEventTypeRef, INamedInterface *) override |
void | before (CustomEventTypeRef, const std::string &) override |
void | after (StandardEventType, INamedInterface *, const StatusCode &) override |
void | after (StandardEventType, const std::string &, const StatusCode &) override |
void | after (CustomEventTypeRef, INamedInterface *, const StatusCode &) override |
void | after (CustomEventTypeRef, const std::string &, const StatusCode &) override |
void | beforeInitialize (INamedInterface *) override |
void | afterInitialize (INamedInterface *) override |
void | beforeReinitialize (INamedInterface *) override |
void | afterReinitialize (INamedInterface *) override |
void | beforeExecute (INamedInterface *) override |
void | afterExecute (INamedInterface *, const StatusCode &) override |
void | beforeFinalize (INamedInterface *) override |
void | afterFinalize (INamedInterface *) override |
const std::string & | name () const override |
bool | isEnabled () const override |
SmartIF< ISvcLocator > & | serviceLocator () const override |
The standard service locator. More... | |
template<class T > | |
StatusCode | service (std::string_view name, T *&svc, bool createIf=false) const |
Access a service by name, creating it if it doesn't already exist. More... | |
template<class T = IService> | |
SmartIF< T > | service (std::string_view name, bool createIf=false) const |
Public Member Functions inherited from PropertyHolder< CommonMessaging< implements< IAuditor, IProperty > > > | |
PropertyHolder ()=default | |
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Details::PropertyBase &prop) |
Declare a property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, TYPE &value, const std::string &doc="none") |
Helper to wrap a regular data member and use it as a regular property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, Gaudi::Property< TYPE, VERIFIER, HANDLERS > &prop, const std::string &doc="none") |
Declare a PropertyBase instance setting name and documentation. More... | |
Gaudi::Details::PropertyBase * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") |
Declare a remote property. More... | |
StatusCode | setProperty (const std::string &name, const Gaudi::Details::PropertyBase &p) override |
set the property from another property with a different name More... | |
StatusCode | setProperty (const std::string &s) override |
set the property from the formatted string More... | |
StatusCode | setProperty (const Gaudi::Details::PropertyBase &p) |
Set the property from a property. More... | |
virtual StatusCode | setProperty (const std::string &name, const Gaudi::Details::PropertyBase &p)=0 |
Set the property from a property with a different name. More... | |
virtual StatusCode | setProperty (const std::string &s)=0 |
Set the property by string. More... | |
StatusCode | setProperty (const std::string &name, const char *v) |
Special case for string literals. More... | |
StatusCode | setProperty (const std::string &name, const std::string &v) |
Special case for std::string. More... | |
StatusCode | setProperty (const std::string &name, const TYPE &value) |
set the property form the value More... | |
StatusCode | setPropertyRepr (const std::string &n, const std::string &r) override |
set the property from name and value string representation More... | |
StatusCode | getProperty (Gaudi::Details::PropertyBase *p) const override |
get the property More... | |
const Gaudi::Details::PropertyBase & | getProperty (std::string_view name) const override |
get the property by name More... | |
StatusCode | getProperty (std::string_view n, std::string &v) const override |
convert the property to the string More... | |
const std::vector< Gaudi::Details::PropertyBase * > & | getProperties () const override |
get all properties More... | |
bool | hasProperty (std::string_view name) const override |
Return true if we have a property with the given name. More... | |
Gaudi::Details::PropertyBase * | property (std::string_view name) const |
\fixme property and bindPropertiesTo should be protected More... | |
void | bindPropertiesTo (Gaudi::Interfaces::IOptionsSvc &optsSvc) |
PropertyHolder (const PropertyHolder &)=delete | |
PropertyHolder & | operator= (const PropertyHolder &)=delete |
Public Member Functions inherited from CommonMessaging< implements< IAuditor, IProperty > > | |
MSG::Level | msgLevel () const |
get the cached level (originally extracted from the embedded MsgStream) More... | |
bool | msgLevel (MSG::Level lvl) const |
get the output level from the embedded MsgStream More... | |
Private Types | |
typedef GaudiUtils::VectorMap< const INamedInterface *, int > | Map |
Private Member Functions | |
void | i_beforeInitialize (INamedInterface *alg) |
void | i_afterInitialize (INamedInterface *alg) |
void | i_beforeExecute (INamedInterface *alg) |
void | i_afterExecute (INamedInterface *alg) |
PerfMonAuditor () | |
PerfMonAuditor (const PerfMonAuditor &) | |
PerfMonAuditor & | operator= (const PerfMonAuditor &) |
void | startpm () |
void | pausepm () |
void | stoppm () |
void | finalizepm () |
int | detect_unavail_pmu_regs (int fd, pfmlib_regmask_t *r_pmcs, pfmlib_regmask_t *r_pmds) |
int | detect_unavail_pmcs (int fd, pfmlib_regmask_t *r_pmcs) |
void | pfm_bv_set (uint64_t *bv, uint16_t rnum) |
int | pfm_bv_isset (uint64_t *bv, uint16_t rnum) |
void | pfm_bv_copy (uint64_t *d, uint64_t *j, uint16_t n) |
void | start_smpl () |
void | stop_smpl () |
void | finalize_smpl () |
Static Private Member Functions | |
static void | process_smpl_buf (pfm_dfl_smpl_hdr_t *hdr, size_t entry_size) |
static void | sigio_handler (int, siginfo_t *, void *) |
Additional Inherited Members | |
Public Types inherited from Auditor | |
using | Factory = Gaudi::PluginService::Factory< IAuditor *(const std::string &, ISvcLocator *)> |
Public Types inherited from PropertyHolder< CommonMessaging< implements< IAuditor, IProperty > > > | |
using | PropertyHolderImpl = PropertyHolder< CommonMessaging< implements< IAuditor, IProperty > > > |
Typedef used to refer to this class from derived classes, as in. More... | |
Public Types inherited from CommonMessaging< implements< IAuditor, IProperty > > | |
using | base_class = CommonMessaging |
Protected Member Functions inherited from CommonMessaging< implements< IAuditor, IProperty > > | |
MSG::Level | setUpMessaging () const |
Set up local caches. More... | |
MSG::Level | resetMessaging () |
Reinitialize internal states. More... | |
void | updateMsgStreamOutputLevel (int level) |
Update the output level of the cached MsgStream. More... | |
Performance Monitoring Auditor that uses Perfmon2 library to monitor algorithms.
Definition at line 208 of file PerfMonAuditor.cpp.
|
private |
Definition at line 360 of file PerfMonAuditor.cpp.
|
inline |
Definition at line 281 of file PerfMonAuditor.cpp.
|
inlinevirtual |
Definition at line 352 of file PerfMonAuditor.cpp.
|
private |
|
private |
|
override |
Definition at line 76 of file Auditor.cpp.
|
override |
Definition at line 75 of file Auditor.cpp.
|
override |
Definition at line 892 of file PerfMonAuditor.cpp.
|
override |
Definition at line 73 of file Auditor.cpp.
|
override |
Definition at line 72 of file Auditor.cpp.
|
override |
Definition at line 70 of file Auditor.cpp.
|
override |
Definition at line 69 of file Auditor.cpp.
|
override |
Definition at line 878 of file PerfMonAuditor.cpp.
|
override |
Definition at line 67 of file Auditor.cpp.
|
override |
The following methods are meant to be implemented by the child class...
Definition at line 66 of file Auditor.cpp.
|
inlineprivate |
Definition at line 399 of file PerfMonAuditor.cpp.
|
private |
|
overridevirtual |
|
private |
Definition at line 794 of file PerfMonAuditor.cpp.
|
private |
Definition at line 516 of file PerfMonAuditor.cpp.
|
private |
Definition at line 947 of file PerfMonAuditor.cpp.
|
private |
Definition at line 908 of file PerfMonAuditor.cpp.
|
private |
Definition at line 910 of file PerfMonAuditor.cpp.
|
private |
Definition at line 906 of file PerfMonAuditor.cpp.
|
overridevirtual |
Reimplemented from Auditor.
Definition at line 549 of file PerfMonAuditor.cpp.
|
inline |
Definition at line 224 of file PerfMonAuditor.cpp.
|
private |
|
private |
Definition at line 504 of file PerfMonAuditor.cpp.
|
inlineprivate |
|
inlineprivate |
Definition at line 401 of file PerfMonAuditor.cpp.
|
inlineprivate |
Definition at line 400 of file PerfMonAuditor.cpp.
|
staticprivate |
|
staticprivate |
Definition at line 621 of file PerfMonAuditor.cpp.
|
private |
Definition at line 665 of file PerfMonAuditor.cpp.
|
private |
Definition at line 429 of file PerfMonAuditor.cpp.
|
private |
Definition at line 781 of file PerfMonAuditor.cpp.
|
private |
|
private |
Definition at line 417 of file PerfMonAuditor.cpp.
|
private |
Definition at line 415 of file PerfMonAuditor.cpp.
|
private |
Definition at line 388 of file PerfMonAuditor.cpp.
|
private |
Definition at line 395 of file PerfMonAuditor.cpp.
|
private |
Definition at line 370 of file PerfMonAuditor.cpp.
|
private |
Definition at line 426 of file PerfMonAuditor.cpp.
|
private |
Definition at line 384 of file PerfMonAuditor.cpp.
|
private |
Definition at line 381 of file PerfMonAuditor.cpp.
|
private |
Definition at line 383 of file PerfMonAuditor.cpp.
|
private |
Definition at line 374 of file PerfMonAuditor.cpp.
|
private |
Definition at line 424 of file PerfMonAuditor.cpp.
|
private |
Definition at line 425 of file PerfMonAuditor.cpp.
|
private |
Definition at line 375 of file PerfMonAuditor.cpp.
|
private |
Definition at line 368 of file PerfMonAuditor.cpp.
|
private |
Definition at line 387 of file PerfMonAuditor.cpp.
|
private |
Definition at line 366 of file PerfMonAuditor.cpp.
|
private |
Definition at line 422 of file PerfMonAuditor.cpp.
|
private |
Definition at line 373 of file PerfMonAuditor.cpp.
|
private |
Definition at line 416 of file PerfMonAuditor.cpp.
|
private |
Definition at line 362 of file PerfMonAuditor.cpp.
|
private |
Definition at line 363 of file PerfMonAuditor.cpp.
|
private |
Definition at line 361 of file PerfMonAuditor.cpp.
|
private |
Definition at line 243 of file PerfMonAuditor.cpp.
|
private |
Definition at line 419 of file PerfMonAuditor.cpp.
|
private |
Definition at line 393 of file PerfMonAuditor.cpp.
|
private |
Definition at line 391 of file PerfMonAuditor.cpp.
|
private |
Definition at line 418 of file PerfMonAuditor.cpp.
|
private |
Definition at line 369 of file PerfMonAuditor.cpp.
|
private |
Definition at line 390 of file PerfMonAuditor.cpp.
|
private |
Definition at line 372 of file PerfMonAuditor.cpp.
|
private |
Definition at line 371 of file PerfMonAuditor.cpp.
|
private |
Definition at line 420 of file PerfMonAuditor.cpp.
|
private |
Definition at line 386 of file PerfMonAuditor.cpp.
|
private |
Definition at line 382 of file PerfMonAuditor.cpp.
|
private |
Definition at line 385 of file PerfMonAuditor.cpp.
|
private |
Definition at line 376 of file PerfMonAuditor.cpp.
|
private |
Definition at line 397 of file PerfMonAuditor.cpp.
|
private |
Definition at line 389 of file PerfMonAuditor.cpp.
|
private |
Definition at line 392 of file PerfMonAuditor.cpp.
|
private |
Definition at line 394 of file PerfMonAuditor.cpp.