CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edmModuleAllocMonitorAnalyze.FrameworkTransitionParser Class Reference
Inheritance diagram for edmModuleAllocMonitorAnalyze.FrameworkTransitionParser:
edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser edmModuleAllocMonitorAnalyze.PreFrameworkTransitionParser

Public Member Functions

def __init__ (self, payload)
 
def indentLevel (self)
 
def syncText (self)
 
def text (self, context)
 
def textPostfix (self)
 
def textPrefix (self)
 

Public Attributes

 index
 
 sync
 
 time
 
 transition
 

Detailed Description

Definition at line 372 of file edmModuleAllocMonitorAnalyze.py.

Constructor & Destructor Documentation

◆ __init__()

def edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.__init__ (   self,
  payload 
)

Definition at line 373 of file edmModuleAllocMonitorAnalyze.py.

373  def __init__(self, payload):
374  self.transition = int(payload[0])
375  self.index = int(payload[1])
376  self.sync = (int(payload[2]), int(payload[3]), int(payload[4]))
377  self.time = int(payload[5])
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ indentLevel()

def edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.indentLevel (   self)

◆ syncText()

def edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.syncText (   self)

Definition at line 382 of file edmModuleAllocMonitorAnalyze.py.

References edmTracerCompactLogViewer.FrameworkTransitionParser.transition, edmTracerCompactLogViewer.PreFrameworkTransitionParser.transition, edmModuleAllocMonitorAnalyze.ModuleData.transition, edmTracerCompactLogViewer.PostFrameworkTransitionParser.transition, edmTracerCompactLogViewer.SourceTransitionParser.transition, edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.transition, edmTracerCompactLogViewer.PreSourceTransitionParser.transition, edmTracerCompactLogViewer.PostSourceTransitionParser.transition, edmTracerCompactLogViewer.EDModuleTransitionParser.transition, and edmTracerCompactLogViewer.ESModuleTransitionParser.transition.

382  def syncText(self):
383  if self.transition == Phase.globalBeginRun or Phase.globalEndRun == self.transition:
384  return f'run={self.sync[0]}'
385  if self.transition == Phase.globalWriteRun:
386  return f'run={self.sync[0]}'
387  if self.transition == Phase.streamBeginRun or Phase.streamEndRun == self.transition:
388  return f'run={self.sync[0]}'
389  if self.transition == Phase.globalBeginLumi or Phase.globalEndLumi == self.transition:
390  return f'run={self.sync[0]} lumi={self.sync[1]}'
391  if self.transition == Phase.globalWriteLumi:
392  return f'run={self.sync[0]} lumi={self.sync[1]}'
393  if self.transition == Phase.streamBeginLumi or Phase.streamEndLumi == self.transition:
394  return f'run={self.sync[0]} lumi={self.sync[1]}'
395  if self.transition == Phase.Event:
396  return f'run={self.sync[0]} lumi={self.sync[1]} event={self.sync[2]}'
397  if self.transition == Phase.esSyncEnqueue or self.transition == Phase.esSync:
398  return f'run={self.sync[0]} lumi={self.sync[1]}'
399  if self.transition == Phase.beginJob:
400  return ''
401  if self.transition == Phase.beginProcessBlock or self.transition == Phase.endProcessBlock or self.transition == Phase.writeProcessBlock or self.transition == Phase.accessInputProcessBlock:
402  return ''
403  if self.transition == Phase.startTracing:
404  return ''
405  if self.transition == Phase.construction or self.transition == Phase.destruction:
406  return ''

◆ text()

def edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.text (   self,
  context 
)

Definition at line 409 of file edmModuleAllocMonitorAnalyze.py.

409  def text(self, context):
410  return f'{self.textPrefix()} {self.textSpecial()}: {self.textPostfix()}'
411 

◆ textPostfix()

def edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.textPostfix (   self)

Definition at line 407 of file edmModuleAllocMonitorAnalyze.py.

407  def textPostfix(self):
408  return f'{transitionName(self.transition)} : id={self.index} {self.syncText()}'

◆ textPrefix()

def edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.textPrefix (   self)

Member Data Documentation

◆ index

edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.index

◆ sync

edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.sync

◆ time

edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.time

◆ transition

edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.transition

Definition at line 374 of file edmModuleAllocMonitorAnalyze.py.

Referenced by edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonVis(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonVis(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.baseIndentLevel(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.baseIndentLevel(), edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.indentLevel(), edmModuleAllocMonitorAnalyze.SourceTransitionParser.indentLevel(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.syncText(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPrefix(), and edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.textPrefix().