X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=macros%2Fgrun.C;h=e8d6688c9748e4228b242932a08f9ffde631e6a8;hb=783fdef6c52bb26b9dfbf11aa62d890ce1a9cdb9;hp=21e89e5a8071ea7061fd876a08dbccf00ac938fe;hpb=fe4da5cc22f890b04843f1aebec0f1bf4f9c3fc9;p=u%2Fmrichter%2FAliRoot.git diff --git a/macros/grun.C b/macros/grun.C index 21e89e5a807..e8d6688c974 100644 --- a/macros/grun.C +++ b/macros/grun.C @@ -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(); }