ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
tutorials
pyroot
rootmarks.py
Go to the documentation of this file.
1
# Prints a summary of all ROOT benchmarks (must be run before)
2
# The ROOTMARK number printed is by reference to a Pentium IV 2.4 Ghz
3
# (with 512 MBytes memory and 120 GBytes IDE disk)
4
# taken by definition as 600 ROOTMARKS in batch mode in executing
5
# python benchmarks.py
6
#
7
8
import
os
9
import
ROOT
10
11
try
:
12
# convenience, allowing to run this file from a different directory
13
macrodir = os.path.dirname( os.path.join( os.getcwd(), __file__ ) )
14
except
NameError:
15
macrodir =
''
# in case of p2.2
16
17
# use ROOT macro to make sure that bench numbers get updated in one place
18
ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( os.path.join( macrodir, os.pardir,
'rootmarks.C'
) ) )