15 printf(
"---------------ROOT %s benchmarks summary--------------------\n",
gROOT->GetVersion());
17 printf(
"\n---------------ROOT %s benchmarks summary (in ROOTMARKS)-----\n",
gROOT->GetVersion());
18 printf(
" For comparison, a Pentium IV 2.4Ghz is benchmarked at 600 ROOTMARKS\n");
23 rtmark = norml*(0.29/hsimple_rt);
24 cpmark = norml*(0.28/hsimple_ct);
26 rtmark = norml*(0.99/hsimple_rt);
27 cpmark = norml*(0.43/hsimple_ct);
29 printf(
"hsimple = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
36 rtmark = norml*(0.16/hsum_rt);
37 cpmark = norml*(0.15/hsum_ct);
39 rtmark = norml*(0.99/hsum_rt);
40 cpmark = norml*(0.24/hsum_ct);
42 printf(
"hsum = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
47 if (fillrandom_rt > 0) {
49 rtmark = norml*(0.02/fillrandom_rt);
50 cpmark = norml*(0.01/fillrandom_ct);
52 rtmark = norml*(0.48/fillrandom_rt);
53 cpmark = norml*(0.04/fillrandom_ct);
55 printf(
"fillrandom = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
62 rtmark = norml*(0.04/fit1_rt);
63 cpmark = norml*(0.03/fit1_ct);
65 rtmark = norml*(0.13/fit1_rt);
66 cpmark = norml*(0.03/fit1_ct);
68 printf(
"fit1 = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
75 rtmark = norml*(0.05/tornado_rt);
76 cpmark = norml*(0.04/tornado_ct);
78 rtmark = norml*(0.11/tornado_rt);
79 cpmark = norml*(0.03/tornado_ct);
81 printf(
"tornado = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
87 rtmark = norml*(1.39/na49_rt);
88 cpmark = norml*(1.39/na49_ct);
89 printf(
"na49 = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
94 if (geometry_rt > 0) {
95 rtmark = norml*(0.19/geometry_rt);
96 cpmark = norml*(0.18/geometry_ct);
97 printf(
"geometry = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
102 if (na49view_rt > 0) {
104 rtmark = norml*(0.03/na49view_rt);
105 cpmark = norml*(0.03/na49view_ct);
107 rtmark = norml*(0.33/na49view_rt);
108 cpmark = norml*(0.05/na49view_ct);
110 printf(
"na49view = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
115 if (ntuple1_rt > 0) {
117 rtmark = norml*(0.29/ntuple1_rt);
118 cpmark = norml*(0.27/ntuple1_ct);
120 rtmark = norml*(1.79/ntuple1_rt);
121 cpmark = norml*(0.28/ntuple1_ct);
123 printf(
"ntuple1 = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
137 printf(
"****************************************************\n");
138 printf(
"* Your machine is estimated at %7.2f ROOTMARKS *\n",rootmarks);
139 printf(
"****************************************************\n");
141 printf(
" You must run the ROOT benchmarks before executing this command\n");
Float_t GetCpuTime(const char *name)
Returns Cpu time used by Benchmark name.
Float_t GetRealTime(const char *name)
Returns Realtime used by Benchmark name.
R__EXTERN TBenchmark * gBenchmark
ClassImp(TMCParticle) void TMCParticle printf(": p=(%7.3f,%7.3f,%9.3f) ;", fPx, fPy, fPz)
virtual void Summary(Float_t &rt, Float_t &cp)
Prints a summary of all benchmarks.