source:
trunk/Cosy/base/MStopwatch.cc@
13408
Last change on this file since 13408 was 732, checked in by , 24 years ago | |
---|---|
File size: 333 bytes |
Line | |
---|---|
1 | #include <TString.h> |
2 | |
3 | #include "MStopwatch.h" |
4 | |
5 | void MStopwatch::Print(Float_t evts) |
6 | { |
7 | if (evts <= 1 ) |
8 | Printf("Real time %.3fs, CP time %.3f", RealTime(), CpuTime()); |
9 | else |
10 | { |
11 | Printf("Real time %.3fs, CP time %.3fs, %.0f frames, Speed %.3ffps", |
12 | RealTime(), CpuTime(), evts, evts/RealTime()); |
13 | } |
14 | } |
Note:
See TracBrowser
for help on using the repository browser.