#include <VTuneAuditor.h>
Definition at line 17 of file VTuneAuditor.h.
 
◆ VTuneAuditor()
      
        
          | VTuneAuditor::VTuneAuditor | ( | const std::string & | name, | 
        
          |  |  | ISvcLocator * | pSvcLocator | 
        
          |  | ) |  |  | 
      
 
Constructor. 
Definition at line 14 of file VTuneAuditor.cxx.
   16   Auditor( 
name, pSvcLocator ),
 
   20     declareProperty( 
"ProfiledAlgs", 
m_algs,
 
   21                      "List of profiled algorithms." );
 
 
 
 
◆ after()
  
  | 
        
          | void VTuneAuditor::after | ( | const std::string & | event, |  
          |  |  | const std::string & | name, |  
          |  |  | const EventContext & | , |  
          |  |  | const StatusCode & |  |  
          |  | ) |  |  |  | overridevirtual | 
 
Definition at line 77 of file VTuneAuditor.cxx.
   83         msgStream() << MSG::ERROR
 
   84                     << 
"Could not pause the profiling from the auditor" 
 
 
 
◆ before()
  
  | 
        
          | void VTuneAuditor::before | ( | const std::string & | event, |  
          |  |  | const std::string & | name, |  
          |  |  | const EventContext & |  |  
          |  | ) |  |  |  | overridevirtual | 
 
Implement inherited methods from Auditor. 
Definition at line 61 of file VTuneAuditor.cxx.
   66         msgStream() << MSG::ERROR
 
   67                     << 
"Could not resume the profiling from the auditor" 
 
 
 
◆ initialize()
  
  | 
        
          | StatusCode VTuneAuditor::initialize | ( |  | ) |  |  | overridevirtual | 
 
Gaudi hooks. 
Definition at line 28 of file VTuneAuditor.cxx.
   32     return StatusCode::FAILURE;
 
   36   const IProperty* vtuneProfSvcProp = 
dynamic_cast<const IProperty*
>(&(*m_vtuneProfilerSvc));
 
   37   if ( !vtuneProfSvcProp ) {
 
   38     msgStream() << MSG::ERROR
 
   39                 << 
"Could not retrieve IProperty interface to VTuneProfilerService." 
   41     return StatusCode::FAILURE;
 
   44   std::vector<std::string> props2Copy = { 
"ProfiledAlgs" };
 
   45   for(
auto& prop : props2Copy) {
 
   46     if ( !
setProperty(vtuneProfSvcProp->getProperty(prop)) ) {
 
   47       msgStream() << MSG::ERROR
 
   48                   << 
"Cannot set " << prop << 
" property." 
   50       return StatusCode::FAILURE;
 
   54   return StatusCode::SUCCESS;
 
 
 
 
◆ m_algs
  
  | 
        
          | std::vector<std::string> VTuneAuditor::m_algs |  | private | 
 
 
◆ m_vtuneProfilerSvc
The documentation for this class was generated from the following files: