} else {
reconstructor->Reconstruct(fRunLoader);
}
- AliInfo(Form("execution time for %s:", fgkDetectorName[iDet]));
- ToAliInfo(stopwatchDet.Print());
+ AliInfo(Form("Execution time for %s: R:%.2fs C:%.2fs",
+ fgkDetectorName[iDet],
+ stopwatchDet.RealTime(),stopwatchDet.CpuTime()));
}
if ((detStr.CompareTo("ALL") != 0) && !detStr.IsNull()) {
if (fStopOnError) return kFALSE;
}
- AliInfo("execution time:");
- ToAliInfo(stopwatch.Print());
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}
reconstructor->ConvertDigits(fRawReader, digitsTree);
loader->WriteDigits("OVERWRITE");
loader->UnloadDigits();
- AliDebug(1, Form("execution time for %s:", fgkDetectorName[iDet]));
- ToAliDebug(1, stopwatchDet.Print());
+ AliInfo(Form("Execution time for %s: R:%.2fs C:%.2fs",
+ fgkDetectorName[iDet],
+ stopwatchDet.RealTime(),stopwatchDet.CpuTime()));
}
// local reconstruction
}
loader->WriteRecPoints("OVERWRITE");
loader->UnloadRecPoints();
- AliDebug(1, Form("execution time for %s:", fgkDetectorName[iDet]));
- ToAliDebug(1, stopwatchDet.Print());
+ AliDebug(1,Form("Execution time for %s: R:%.2fs C:%.2fs",
+ fgkDetectorName[iDet],
+ stopwatchDet.RealTime(),stopwatchDet.CpuTime()));
}
if ((detStr.CompareTo("ALL") != 0) && !detStr.IsNull()) {
detStr.Data()));
if (fStopOnError) return kFALSE;
}
-
- AliInfo("execution time:");
- ToAliInfo(stopwatch.Print());
+
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}
}
delete vertex;
- AliInfo("execution time:");
- ToAliInfo(stopwatch.Print());
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}
delete tracker;
}
- AliInfo("execution time:");
- ToAliInfo(stopwatch.Print());
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}
fLoader[iDet]->UnloadRecPoints();
}
- AliInfo("execution time:");
- ToAliInfo(stopwatch.Print());
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}
if (fStopOnError) return kFALSE;
}
- AliInfo("execution time:");
- ToAliInfo(stopwatch.Print());
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}
delete runLoader;
- AliInfo("execution time:");
- StdoutToAliInfo(stopwatch.Print(););
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}
TStopwatch stopwatchDet;
stopwatchDet.Start();
det->Hits2SDigits();
- AliInfo(Form("execution time for %s:", det->GetName()));
- StdoutToAliInfo(stopwatchDet.Print(););
+ AliInfo(Form("Execution time for %s: R:%.2fs C:%.2fs",
+ det->GetName(),stopwatchDet.RealTime(),stopwatchDet.CpuTime()));
}
}
delete runLoader;
- AliInfo("execution time:");
- StdoutToAliInfo(stopwatch.Print(););
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}
delete manager;
- AliInfo("execution time:");
- StdoutToAliInfo(stopwatch.Print(););
-
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
+
return kTRUE;
}
//PH Temporary fix to avoid interference with the PHOS loder/getter
//PH The problem has to be solved in more general way 09/06/05
- AliInfo("execution time:");
- StdoutToAliInfo(stopwatch.Print(););
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}
}
}
- AliInfo("execution time:");
- StdoutToAliInfo(stopwatch.Print(););
+ AliInfo(Form("Execution time: R:%.2fs C:%.2fs",
+ stopwatch.RealTime(),stopwatch.CpuTime()));
return kTRUE;
}