Logo ROOT  
Reference Guide
rootmarks.py
Go to the documentation of this file.
1## \file
2## \ingroup tutorial_pyroot_legacy
3## Prints a summary of all ROOT benchmarks (must be run before)
4## The ROOTMARK number printed is by reference to a Pentium IV 2.4 Ghz
5## (with 512 MBytes memory and 120 GBytes IDE disk)
6## taken by definition as 600 ROOTMARKS in batch mode in executing
7## python benchmarks.py
8##
9## \macro_code
10##
11## \author Wim Lavrijsen
12
13import os
14import ROOT
15
16macrodir = os.path.join(str(ROOT.gROOT.GetTutorialDir()), 'pyroot')
17
18# use ROOT macro to make sure that bench numbers get updated in one place
19ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( os.path.join( macrodir, os.pardir, 'legacy/rootmarks.C' ) ) )