source: trunk/MagicSoft/Cosy/base/MStopwatch.cc@ 1018

Last change on this file since 1018 was 732, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 333 bytes
Line 
1#include <TString.h>
2
3#include "MStopwatch.h"
4
5void 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.