The Gaudi Framework
v26r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CallgrindProfile.h
Go to the documentation of this file.
1
#ifndef VALGRIND_CALLGRINDPROFILE_H
2
#define VALGRIND_CALLGRINDPROFILE_H 1
3
4
// Include files
5
// from Gaudi
6
#include "GaudiAlg/GaudiAlgorithm.h"
7
8
16
class
CallgrindProfile
:
public
GaudiAlgorithm
{
17
public
:
19
CallgrindProfile
(
const
std::string&
name
,
ISvcLocator
* pSvcLocator );
20
21
virtual
~CallgrindProfile
( );
22
23
virtual
StatusCode
initialize
();
24
virtual
StatusCode
execute
();
25
virtual
StatusCode
finalize
();
26
27
protected
:
28
29
private
:
30
int
m_nStartFromEvent
;
// Event to start profiling at
31
int
m_nStopAtEvent
;
// Event to stop profiling at
32
int
m_nDumpAtEvent
;
// Event at which to dump the stats (Destructor by default)
33
int
m_nZeroAtEvent
;
//Event at which to zero the stats
34
int
m_eventNumber
;
// Current event number
35
bool
m_profiling
;
// Whether valgrind is profiling or not
36
bool
m_dumpDone
;
// Whether the counters were dumped
37
std::string
m_dumpName
;
// Name to pass to the dump macro
38
};
39
#endif // VALGRIND_CALLGRINDPROFILE_H
GaudiProfiling
src
component
valgrind
CallgrindProfile.h
Generated on Mon Feb 16 2015 11:56:57 for The Gaudi Framework by
1.8.2