]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
printing the execution time
authorjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 May 2006 08:10:34 +0000 (08:10 +0000)
committerjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 May 2006 08:10:34 +0000 (08:10 +0000)
PWG0/dNdEta/testAnalysis2.C

index f3736c32e119be22d679190fbaa70d2fad3398cb..bf504e0dc24468cf0407e0f808f526a42aeb7b60 100644 (file)
@@ -42,5 +42,11 @@ testAnalysis2(Char_t* dataDir, Int_t nRuns=20, Bool_t aMC = kFALSE)
 
   AliLog::SetClassDebugLevel(selectorName, AliLog::kInfo);
 
+  TStopwatch timer;
+  timer.Start();
+
   chain->Process(selectorName + ".cxx+");
+
+  timer.Stop();
+  timer.Print();
 }