]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/grun.C
actor changed to create the task PHOS
[u/mrichter/AliRoot.git] / macros / grun.C
index 21e89e5a8071ea7061fd876a08dbccf00ac938fe..e8d6688c9748e4228b242932a08f9ffde631e6a8 100644 (file)
@@ -4,5 +4,9 @@ void grun (Int_t nevent=1, const char *config="Config.C")
   // Simple macro to run aliroot in a batch mode
   //
   gAlice->Init(config);
+  TStopwatch timer;
+  timer.Start();
   gAlice->Run(nevent);
+  timer.Stop();
+  timer.Print();
 }