]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
disable component statistics for the control task, only inserts the desired control...
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Oct 2010 21:04:19 +0000 (21:04 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Oct 2010 21:04:19 +0000 (21:04 +0000)
HLT/BASE/AliHLTControlTask.cxx

index b1537b8d62fb2b7bd7e7ee4aa891a596ed70adf6..adca21a6d13dcc1284cbd6e6d70eade5300f55d4 100644 (file)
@@ -54,7 +54,11 @@ int AliHLTControlTask::CreateComponent(AliHLTConfiguration* /*pConf*/, AliHLTCom
   int iResult=0;
   if ((pComponent=new AliHLTControlEventComponent(this))) {
     const AliHLTAnalysisEnvironment* pEnv=pCH->GetEnvironment();
-    if ((iResult=pComponent->Init(pEnv, NULL, 0, NULL))>=0) {
+    const char* argv[]={
+      "-disable-component-stat"
+    };
+    int argc=sizeof(argv)/sizeof(const char*);
+    if ((iResult=pComponent->Init(pEnv, NULL, argc, argv))>=0) {
       //HLTDebug("component %s (%p) created", pComponent->GetComponentID(), pComponent); 
     } else {
       HLTError("Initialization of component \"%s\" failed with error %d", pComponent->GetComponentID(), iResult);