The Gaudi Framework  v36r1 (3e2fb5a8)
IOTest Namespace Reference

Functions

def storeExplorer (load=1, freq=0.0001, name='StoreExplorerAlg')
 
def update ()
 
def printDelta (s0, s1)
 

Variables

 input_file
 
 appConf
 
 OutputLevel
 
 HistogramPersistency
 
 freq
 
 RootCLID
 
 EnableFaultHandler
 
 root
 
 CacheBranches
 
 VetoBranches
 
 Input
 
 PrintFreq
 
 appMgr
 
 sel
 
 evt
 
 start
 
 N
 
 rc
 
 end
 

Function Documentation

◆ printDelta()

def IOTest.printDelta (   s0,
  s1 
)

Definition at line 94 of file IOTest.py.

94 def printDelta(s0, s1):
95  for s in s1:
96  if s == 'time':
97  print('%15s : %10.2F sec' % (s, (s1[s] - s0[s])))
98  else:
99  print('%15s : %10.2F MB' % (s, (s1[s] - s0[s]) / 1.E6))
100 
101 

◆ storeExplorer()

def IOTest.storeExplorer (   load = 1,
  freq = 0.0001,
  name = 'StoreExplorerAlg' 
)

Definition at line 37 of file IOTest.py.

37 def storeExplorer(load=1, freq=0.0001, name='StoreExplorerAlg'):
38  from Configurables import StoreExplorerAlg
39  alg = StoreExplorerAlg(name)
40  alg.Load = load
41  alg.PrintFreq = freq
42  return alg
43 
44 
45 # -----------------------------------------------------------------------------
46 

◆ update()

def IOTest.update ( )

Definition at line 82 of file IOTest.py.

82 def update():
83  statistic = {}
84  test = open('/proc/self/io')
85  io = test.readlines()
86  test.close()
87  for l in io:
88  temp = l.split(':')
89  statistic[temp[0]] = int(temp[1])
90  statistic['time'] = time.time()
91  return statistic
92 
93 

Variable Documentation

◆ appConf

IOTest.appConf

Definition at line 50 of file IOTest.py.

◆ appMgr

IOTest.appMgr

Definition at line 103 of file IOTest.py.

◆ CacheBranches

IOTest.CacheBranches

Definition at line 59 of file IOTest.py.

◆ EnableFaultHandler

IOTest.EnableFaultHandler

Definition at line 57 of file IOTest.py.

◆ end

IOTest.end

Definition at line 123 of file IOTest.py.

◆ evt

IOTest.evt

Definition at line 105 of file IOTest.py.

◆ freq

IOTest.freq

Definition at line 54 of file IOTest.py.

◆ HistogramPersistency

IOTest.HistogramPersistency

Definition at line 51 of file IOTest.py.

◆ Input

IOTest.Input

Definition at line 75 of file IOTest.py.

◆ input_file

IOTest.input_file

Definition at line 31 of file IOTest.py.

◆ N

IOTest.N

Definition at line 110 of file IOTest.py.

◆ OutputLevel

IOTest.OutputLevel

Definition at line 50 of file IOTest.py.

◆ PrintFreq

IOTest.PrintFreq

Definition at line 78 of file IOTest.py.

◆ rc

IOTest.rc

Definition at line 112 of file IOTest.py.

◆ root

IOTest.root

Definition at line 58 of file IOTest.py.

◆ RootCLID

IOTest.RootCLID

Definition at line 56 of file IOTest.py.

◆ sel

IOTest.sel

Definition at line 104 of file IOTest.py.

◆ start

IOTest.start

Definition at line 108 of file IOTest.py.

◆ VetoBranches

IOTest.VetoBranches

Definition at line 60 of file IOTest.py.

IOTest.storeExplorer
def storeExplorer(load=1, freq=0.0001, name='StoreExplorerAlg')
Definition: IOTest.py:37
IOTest.printDelta
def printDelta(s0, s1)
Definition: IOTest.py:94
StoreExplorerAlg
Definition: StoreExplorerAlg.cpp:42
IOTest.update
def update()
Definition: IOTest.py:82