Gaudi Framework, version v23r7

Home   Generated: Wed Mar 20 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ChronoStatSvc.h
Go to the documentation of this file.
1 // $Id: ChronoStatSvc.h,v 1.13 2008/05/13 12:37:19 marcocle Exp $
2 // ============================================================================
3 // CVS tag $Name: $, version $Revision: 1.13 $
4 // ============================================================================
5 #ifndef GAUDISVC_CHRONOSTATSVC_H__
6 #define GAUDISVC_CHRONOSTATSVC_H__
7 // ============================================================================
8 // include files
9 // ============================================================================
10 // STD & STL
11 // ============================================================================
12 #include <string>
13 #include <map>
14 #include <functional>
15 // ============================================================================
16 // GaudiKernel
17 // ============================================================================
18 #include "GaudiKernel/SvcFactory.h"
19 #include "GaudiKernel/Kernel.h"
20 #include "GaudiKernel/Service.h"
22 // ============================================================================
24 // ============================================================================
25 class ISvcLocator ;
26 class IMessageSvc ;
27 // ============================================================================
36 class ChronoStatSvc: public extends1<Service, IChronoStatSvc> {
37 public:
38  // ============================================================================
42  // ============================================================================
43 public:
44  // ============================================================================
46  virtual StatusCode initialize();
48  virtual StatusCode finalize();
49  // ============================================================================
50 public:
51  // ============================================================================
55  virtual ChronoEntity* chronoStart
56  ( const IChronoStatSvc::ChronoTag& chronoTag );
57  // ============================================================================
61  virtual const ChronoEntity* chronoStop
62  ( const IChronoStatSvc::ChronoTag& chronoTag );
63  // ============================================================================
68  ( const IChronoStatSvc::ChronoTag& chronoTag,
70  // ============================================================================
74  virtual void chronoPrint
75  ( const IChronoStatSvc::ChronoTag& chronoTag );
76  // ============================================================================
81  ( const IChronoStatSvc::ChronoTag& chronoTag );
82  // ============================================================================
87  virtual void stat
88  ( const IChronoStatSvc::StatTag & statTag ,
89  const IChronoStatSvc::StatFlag & statFlag ) ;
90  // ============================================================================
95  virtual void statPrint
96  ( const IChronoStatSvc::ChronoTag& statTag) ;
97  // ============================================================================
103  virtual const ChronoEntity* chrono
104  ( const IChronoStatSvc::ChronoTag& t ) const ;
105  // ============================================================================
111  virtual const StatEntity* stat
112  ( const IChronoStatSvc::StatTag& t ) const ;
113  // ============================================================================
118  ChronoStatSvc ( const std::string& name, ISvcLocator* svcloc );
120  virtual ~ChronoStatSvc();
121  // ============================================================================
122 protected:
123  // ============================================================================
124  // print the "Stat" part of the ChronoStatSvc
125  void printStats() ;
126  // ============================================================================
127 private:
128  // ============================================================================
129  // default constructor is disabled
130  ChronoStatSvc() ;
131  // copy constructor is disabled
132  ChronoStatSvc( const ChronoStatSvc& ) ;
133  // assignement operator constructor is disabled
135  // ============================================================================
137  void saveStats();
138  // ============================================================================
139 private:
140  // ============================================================================
158 
159  // property
161 
164 
175 
178 
179  // the header row
181  // format for regular statistical printout rows
183  // format for "efficiency" statistical printout rows
185  // flag to use the special "efficiency" format
187  // ============================================================================
188 };
189 // ============================================================================
190 // The END
191 // ============================================================================
192 #endif // GAUDISVC_CHRONOSTATSVC_H
193 // ============================================================================
194 
195 

Generated at Wed Mar 20 2013 17:59:36 for Gaudi Framework, version v23r7 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004