Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
rootmarks.py File Reference

Namespaces

namespace  rootmarks
 

Detailed Description

Prints a summary of all ROOT benchmarks (must be run before) 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 python benchmarks.py.

import os
import ROOT
macrodir = os.path.join(str(ROOT.gROOT.GetTutorialDir()), 'pyroot')
# use ROOT macro to make sure that bench numbers get updated in one place
ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( os.path.join( macrodir, os.pardir, 'legacy/rootmarks.C' ) ) )
Author
Wim Lavrijsen

Definition in file rootmarks.py.