23 printf(
"---------------ROOT %s benchmarks summary--------------------\n",
gROOT->GetVersion());
25 printf(
"\n---------------ROOT %s benchmarks summary (in ROOTMARKS)-----\n",
gROOT->GetVersion());
26 printf(
" For comparison, a Pentium IV 2.4Ghz is benchmarked at 600 ROOTMARKS\n");
31 rtmark = norml*(0.29/hsimple_rt);
32 cpmark = norml*(0.28/hsimple_ct);
34 rtmark = norml*(0.99/hsimple_rt);
35 cpmark = norml*(0.43/hsimple_ct);
37 printf(
"hsimple = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
44 rtmark = norml*(0.16/hsum_rt);
45 cpmark = norml*(0.15/hsum_ct);
47 rtmark = norml*(0.99/hsum_rt);
48 cpmark = norml*(0.24/hsum_ct);
50 printf(
"hsum = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
55 if (fillrandom_rt > 0) {
57 rtmark = norml*(0.02/fillrandom_rt);
58 cpmark = norml*(0.01/fillrandom_ct);
60 rtmark = norml*(0.48/fillrandom_rt);
61 cpmark = norml*(0.04/fillrandom_ct);
63 printf(
"fillrandom = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
70 rtmark = norml*(0.04/fit1_rt);
71 cpmark = norml*(0.03/fit1_ct);
73 rtmark = norml*(0.13/fit1_rt);
74 cpmark = norml*(0.03/fit1_ct);
76 printf(
"fit1 = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
83 rtmark = norml*(0.05/tornado_rt);
84 cpmark = norml*(0.04/tornado_ct);
86 rtmark = norml*(0.11/tornado_rt);
87 cpmark = norml*(0.03/tornado_ct);
89 printf(
"tornado = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
95 rtmark = norml*(1.39/na49_rt);
96 cpmark = norml*(1.39/na49_ct);
97 printf(
"na49 = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
102 if (geometry_rt > 0) {
103 rtmark = norml*(0.19/geometry_rt);
104 cpmark = norml*(0.18/geometry_ct);
105 printf(
"geometry = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
110 if (na49view_rt > 0) {
112 rtmark = norml*(0.03/na49view_rt);
113 cpmark = norml*(0.03/na49view_ct);
115 rtmark = norml*(0.33/na49view_rt);
116 cpmark = norml*(0.05/na49view_ct);
118 printf(
"na49view = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
123 if (ntuple1_rt > 0) {
125 rtmark = norml*(0.29/ntuple1_rt);
126 cpmark = norml*(0.27/ntuple1_ct);
128 rtmark = norml*(1.79/ntuple1_rt);
129 cpmark = norml*(0.28/ntuple1_ct);
131 printf(
"ntuple1 = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
145 printf(
"****************************************************\n");
146 printf(
"* Your machine is estimated at %7.2f ROOTMARKS *\n",
rootmarks);
147 printf(
"****************************************************\n");
149 printf(
" You must run the ROOT benchmarks before executing this command\n");
R__EXTERN TBenchmark * gBenchmark
virtual void Summary(Float_t &rt, Float_t &cp)
Prints a summary of all benchmarks.
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.