The ROOTMARK number printed is by reference to a Pentium IV 2.4 Ghz (with 512 MBytes memory and 120 GBytes IDE disk) taken by definition as 600 ROOTMARKS in batch mode in executing
void rootmarks() {
printf(
"---------------ROOT %s benchmarks summary--------------------\n",
gROOT->GetVersion());
printf(
"\n---------------ROOT %s benchmarks summary (in ROOTMARKS)-----\n",
gROOT->GetVersion());
printf(" For comparison, a Pentium IV 2.4Ghz is benchmarked at 600 ROOTMARKS\n");
if (hsimple_rt > 0) {
if (batch) {
rtmark = norml*(0.29/hsimple_rt);
cpmark = norml*(0.28/hsimple_ct);
} else {
rtmark = norml*(0.99/hsimple_rt);
cpmark = norml*(0.43/hsimple_ct);
}
printf("hsimple = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
}
if (hsum_rt > 0) {
if (batch) {
rtmark = norml*(0.16/hsum_rt);
cpmark = norml*(0.15/hsum_ct);
} else {
rtmark = norml*(0.99/hsum_rt);
cpmark = norml*(0.24/hsum_ct);
}
printf("hsum = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
}
if (fillrandom_rt > 0) {
if (batch) {
rtmark = norml*(0.02/fillrandom_rt);
cpmark = norml*(0.01/fillrandom_ct);
} else {
rtmark = norml*(0.48/fillrandom_rt);
cpmark = norml*(0.04/fillrandom_ct);
}
printf("fillrandom = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
}
if (fit1_rt > 0) {
if (batch) {
rtmark = norml*(0.04/fit1_rt);
cpmark = norml*(0.03/fit1_ct);
} else {
rtmark = norml*(0.13/fit1_rt);
cpmark = norml*(0.03/fit1_ct);
}
printf("fit1 = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
}
if (tornado_rt > 0) {
if (batch) {
rtmark = norml*(0.05/tornado_rt);
cpmark = norml*(0.04/tornado_ct);
} else {
rtmark = norml*(0.11/tornado_rt);
cpmark = norml*(0.03/tornado_ct);
}
printf("tornado = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
}
if (na49_rt > 0) {
rtmark = norml*(1.39/na49_rt);
cpmark = norml*(1.39/na49_ct);
printf("na49 = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
}
if (geometry_rt > 0) {
rtmark = norml*(0.19/geometry_rt);
cpmark = norml*(0.18/geometry_ct);
printf("geometry = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
}
if (na49view_rt > 0) {
if (batch) {
rtmark = norml*(0.03/na49view_rt);
cpmark = norml*(0.03/na49view_ct);
} else {
rtmark = norml*(0.33/na49view_rt);
cpmark = norml*(0.05/na49view_ct);
}
printf("na49view = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
}
if (ntuple1_rt > 0) {
if (batch) {
rtmark = norml*(0.29/ntuple1_rt);
cpmark = norml*(0.27/ntuple1_ct);
} else {
rtmark = norml*(1.79/ntuple1_rt);
cpmark = norml*(0.28/ntuple1_ct);
}
printf("ntuple1 = %7.2f RealMARKS, = %7.2f CpuMARKS\n",rtmark,cpmark);
}
if (rtall) {
if (batch) {
rtbrun = 3.45;
cpbrun = 3.24;
} else {
rtbrun = 5.79;
cpbrun = 4.08;
}
Float_t rootmarks = norml*(rtbrun+cpbrun)/(rtall+cpall);
printf("\n");
printf("****************************************************\n");
printf("* Your machine is estimated at %7.2f ROOTMARKS *\n",rootmarks);
printf("****************************************************\n");
} else {
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.