19 #include "boost/assign/list_of.hpp"
21 #include "google/heap-profiler.h"
22 #include "google/heap-checker.h"
23 #include "google/profiler.h"
95 return ( dynamic_cast<GaudiSequencer*>(i) != NULL ||
96 dynamic_cast<Sequencer*>(i) != NULL );
181 <<
"Auditor already running. Cannot be started for " << s
288 , m_log ( msgSvc() , name )
291 , m_sampleEventCount( 0 )
292 , m_inFullAudit ( false )
297 boost::assign::list_of
308 "List of phases to activate the Auditoring during" );
310 "List of component names to disable the auditing for" );
313 "The frequence to audit events. -1 means all events" );
315 "If true, instead of individually auditing components, the full event (or events) will be audited in one go" );
317 "The number of events to include in a full event audit, if enabled" );
319 "Number of events to skip before activating the auditing" );
321 "If true, auditing will be skipped for Sequencer objects." );
354 HeapProfilerStart(s.c_str());
361 HeapProfilerDump(s.c_str());
365 const char * profile = GetHeapProfile();
415 const char * HEAPCHECK = getenv(
"HEAPCHECK");
419 <<
"Environment variable HEAPCHECK must be set to 'local'"
426 <<
"Environment variable HEAPCHECK is set to " << HEAPCHECK
427 <<
" Partial Program Heap Checking is disabled"
441 m_checker =
new HeapLeakChecker(s.c_str());
497 ProfilerStart((s+
".prof").c_str());