class AliHLTSystem : public AliHLTLogging {
public:
/** default constructor */
- AliHLTSystem();
+ AliHLTSystem(AliHLTComponentLogSeverity loglevel=kHLTLogDefault);
/** destructor */
virtual ~AliHLTSystem();
*/
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.
* @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.
/**
* 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>
/** array of default libraries */
static const char* fgkHLTDefaultLibs[]; //!transient
- ClassDef(AliHLTSystem, 5);
+ ClassDef(AliHLTSystem, 7);
};
#endif