The Gaudi Framework  v38r1p1 (ae26267b)
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 93 of file IOTest.py.

93 def printDelta(s0, s1):
94  for s in s1:
95  if s == "time":
96  print("%15s : %10.2F sec" % (s, (s1[s] - s0[s])))
97  else:
98  print("%15s : %10.2F MB" % (s, (s1[s] - s0[s]) / 1.0e6))
99 
100 

◆ storeExplorer()

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

Definition at line 35 of file IOTest.py.

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

◆ update()

def IOTest.update ( )

Definition at line 81 of file IOTest.py.

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

Variable Documentation

◆ appConf

IOTest.appConf

Definition at line 49 of file IOTest.py.

◆ appMgr

IOTest.appMgr

Definition at line 103 of file IOTest.py.

◆ CacheBranches

IOTest.CacheBranches

Definition at line 58 of file IOTest.py.

◆ EnableFaultHandler

IOTest.EnableFaultHandler

Definition at line 56 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 53 of file IOTest.py.

◆ HistogramPersistency

IOTest.HistogramPersistency

Definition at line 50 of file IOTest.py.

◆ Input

IOTest.Input

Definition at line 76 of file IOTest.py.

◆ input_file

IOTest.input_file

Definition at line 29 of file IOTest.py.

◆ N

IOTest.N

Definition at line 110 of file IOTest.py.

◆ OutputLevel

IOTest.OutputLevel

Definition at line 49 of file IOTest.py.

◆ PrintFreq

IOTest.PrintFreq

Definition at line 77 of file IOTest.py.

◆ rc

IOTest.rc

Definition at line 112 of file IOTest.py.

◆ root

IOTest.root

Definition at line 57 of file IOTest.py.

◆ RootCLID

IOTest.RootCLID

Definition at line 55 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 59 of file IOTest.py.

IOTest.printDelta
def printDelta(s0, s1)
Definition: IOTest.py:93
StoreExplorerAlg
Definition: StoreExplorerAlg.cpp:42
IOTest.storeExplorer
def storeExplorer(load=1, freq=0.0001, name="StoreExplorerAlg")
Definition: IOTest.py:35
IOTest.update
def update()
Definition: IOTest.py:81