]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTSystem.h
using the new ESD assignment operator to merge ESDs
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTSystem.h
index dc92866e88505ba1e50d41ee592f613a66ba8b7f..70e17196926ecdbf1701a36b03237507d7f7c49f 100644 (file)
@@ -47,7 +47,7 @@ class TStopwatch;
 class AliHLTSystem : public AliHLTLogging {
  public:
   /** default constructor */
-  AliHLTSystem();
+  AliHLTSystem(AliHLTComponentLogSeverity loglevel=kHLTLogDefault);
   /** destructor */
   virtual ~AliHLTSystem();
 
@@ -159,6 +159,22 @@ class AliHLTSystem : public AliHLTLogging {
    */
   int InitBenchmarking(TObjArray* pStopwatches);
 
+  /**
+   * Stop the stopwatches for all tasks.
+   * @param pStopwatches    object array of stopwatches, for types
+   *                        @see AliHLTComponent::AliHLTStopwatchType
+   * @return neg error code if failed
+   */
+  int PauseBenchmarking(TObjArray* pStopwatches) const;
+
+  /**
+   * Continue the stopwatches for all tasks.
+   * @param pStopwatches    object array of stopwatches, for types
+   *                        @see AliHLTComponent::AliHLTStopwatchType
+   * @return neg error code if failed
+   */
+  int ResumeBenchmarking(TObjArray* pStopwatches) const;
+
   /**
    * Print benchmarking summary.
    * Optionak: clean up stop watches.
@@ -166,7 +182,7 @@ class AliHLTSystem : public AliHLTLogging {
    * @param bClean          delete stop watches if 1
    * @return neg error code if failed
    */
-  int PrintBenchmarking(TObjArray* pStopwatches, int bClean=0);
+  int PrintBenchmarking(TObjArray* pStopwatches, int bClean=0) const;
 
   /**
    * Start task list.
@@ -315,7 +331,7 @@ class AliHLTSystem : public AliHLTLogging {
   /**
    * Scan options.
    * Known options
-   * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formating -->
+   * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
    * \li loglevel=<i>level</i> <br>
    *     logging level for this processing
    * \li frameworklog=<i>level</i> <br>
@@ -438,7 +454,7 @@ class AliHLTSystem : public AliHLTLogging {
   /** array of default libraries */
   static const char* fgkHLTDefaultLibs[];                          //!transient
 
-  ClassDef(AliHLTSystem, 5);
+  ClassDef(AliHLTSystem, 7);
 };
 
 #endif