Commits

Anonymous committed ff405b7

extended IPerfMonSvc interface + removed 'run' step

Comments (0)

Files changed (3)

+2007-11-07  Sebastien Binet  <binet@lblbox>
+
+	* tagging PerfMonKernel-00-05-00
+	* extended IPerfMonSvc interface
+	* removed 'run' step
+	* M PerfMonKernel/IPerfMonSvc.h
+	* M PerfMonKernel/PerfMonDefs.h
+
 2007-10-01  Sebastien Binet  <binet@lblbox>
 
 	* tagging PerfMonKernel-00-04-00

PerfMonKernel/IPerfMonSvc.h

 class IPerfMonTool;
 class IPerfMonPyTool;
 namespace AIDA { class IBaseHistogram; }
+class PerfMonEventLoopMgr;
 
 class IPerfMonSvc : virtual public IMonitorSvc
 { 
+  // friends
+  friend class PerfMonEventLoopMgr;
 
   /////////////////////////////////////////////////////////////////// 
   // Public methods: 
   /// main entry point for the performance monitoring
   virtual void monitor( PerfMon::State::Type step ) = 0;
 
+  /// helper to start auditing the 'virtual' 'PerfMonSlice'
+  virtual void startAud( PerfMon::State::Type step ) = 0;
+  /// helper to stop auditing the 'virtual' 'PerfMonSlice'
+  virtual void stopAud ( PerfMon::State::Type step ) = 0;
+
   /// shutdown an @c IPerfMonTool
   StatusCode shutdown( IPerfMonTool* tool );
 

PerfMonKernel/PerfMonDefs.h

   struct State {
     enum Type {
       ini = 0,
-      run,
+      //run,
       evt,
       fin,
 
   typedef boost::array<std::string, State::Size> Steps_t;
   static Steps_t Steps = { 
     "ini", 
-    "run", 
+    //"run", 
     "evt", 
     "fin" 
   };