Gaudi Framework, version v23r0 |
Home | Generated: Mon Jan 30 2012 |
Public Member Functions | |
def | __init__ |
def | Load |
def | Dump |
def | Report |
Public Attributes | |
T | |
evt | |
buffersIn | |
buffersOut | |
nIn | |
nOut | |
tDump | |
tLoad | |
nodeType | |
nodeID | |
log |
Definition at line 310 of file GMPBase.py.
def GaudiMP::GMPBase::TESSerializer::__init__ | ( | self, | |
gaudiTESSerializer, | |||
evtDataSvc, | |||
nodeType, | |||
nodeID, | |||
log | |||
) |
Definition at line 311 of file GMPBase.py.
def GaudiMP::GMPBase::TESSerializer::Dump | ( | self ) |
Definition at line 334 of file GMPBase.py.
def GaudiMP::GMPBase::TESSerializer::Load | ( | self, | |
tbuf | |||
) |
Definition at line 325 of file GMPBase.py.
def GaudiMP::GMPBase::TESSerializer::Report | ( | self ) |
Definition at line 342 of file GMPBase.py.
00343 : 00344 evIn = "Events Loaded : %i"%( self.nIn ) 00345 evOut = "Events Dumped : %i"%( self.nOut ) 00346 din = sum( self.buffersIn ) 00347 dataIn = "Data Loaded : %i"%(din) 00348 dataInMb = "Data Loaded (MB) : %5.2f Mb"%(din/MB) 00349 if self.nIn : 00350 avgIn = "Avg Buf Loaded : %5.2f Mb"\ 00351 %( din/(self.nIn*MB) ) 00352 maxIn = "Max Buf Loaded : %5.2f Mb"\ 00353 %( max(self.buffersIn)/MB ) 00354 else : 00355 avgIn = "Avg Buf Loaded : N/A" 00356 maxIn = "Max Buf Loaded : N/A" 00357 dout = sum( self.buffersOut ) 00358 dataOut = "Data Dumped : %i"%(dout) 00359 dataOutMb = "Data Dumped (MB) : %5.2f Mb"%(dout/MB) 00360 if self.nOut : 00361 avgOut = "Avg Buf Dumped : %5.2f Mb"\ 00362 %( din/(self.nOut*MB) ) 00363 maxOut = "Max Buf Dumped : %5.2f Mb"\ 00364 %( max(self.buffersOut)/MB ) 00365 else : 00366 avgOut = "Avg Buf Dumped : N/A" 00367 maxOut = "Max Buf Dumped : N/A" 00368 dumpTime = "Total Dump Time : %5.2f"%( self.tDump ) 00369 loadTime = "Total Load Time : %5.2f"%( self.tLoad ) 00370 00371 lines = evIn ,\ 00372 evOut ,\ 00373 dataIn ,\ 00374 dataInMb ,\ 00375 avgIn ,\ 00376 maxIn ,\ 00377 dataOut ,\ 00378 dataOutMb,\ 00379 avgOut ,\ 00380 maxOut ,\ 00381 dumpTime ,\ 00382 loadTime 00383 self.log.name = "%s-%i TESSerializer"%(self.nodeType, self.nodeID) 00384 for line in lines : 00385 self.log.info( line ) 00386 self.log.name = "%s-%i"%(self.nodeType, self.nodeID) 00387 00388 # =============================================================================
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.
Definition at line 311 of file GMPBase.py.