CMS 3D CMS Logo

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

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 184 of file edmTracerCompactLogViewer.py.

Constructor & Destructor Documentation

◆ __init__()

def edmTracerCompactLogViewer.FrameworkTransitionParser.__init__ (   self,
  payload 
)

Definition at line 185 of file edmTracerCompactLogViewer.py.

185  def __init__(self, payload):
186  self.transition = int(payload[0])
187  self.index = int(payload[1])
188  self.sync = (int(payload[2]), int(payload[3]), int(payload[4]))
189  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 edmTracerCompactLogViewer.FrameworkTransitionParser.indentLevel (   self)

◆ syncText()

def edmTracerCompactLogViewer.FrameworkTransitionParser.syncText (   self)

Definition at line 194 of file edmTracerCompactLogViewer.py.

References edmTracerCompactLogViewer.FrameworkTransitionParser.transition.

194  def syncText(self):
195  if self.transition == Phase.globalBeginRun or Phase.globalEndRun == self.transition:
196  return f'run={self.sync[0]}'
197  if self.transition == Phase.globalWriteRun:
198  return f'run={self.sync[0]}'
199  if self.transition == Phase.streamBeginRun or Phase.streamEndRun == self.transition:
200  return f'run={self.sync[0]}'
201  if self.transition == Phase.globalBeginLumi or Phase.globalEndLumi == self.transition:
202  return f'run={self.sync[0]} lumi={self.sync[1]}'
203  if self.transition == Phase.globalWriteLumi:
204  return f'run={self.sync[0]} lumi={self.sync[1]}'
205  if self.transition == Phase.streamBeginLumi or Phase.streamEndLumi == self.transition:
206  return f'run={self.sync[0]} lumi={self.sync[1]}'
207  if self.transition == Phase.Event:
208  return f'run={self.sync[0]} lumi={self.sync[1]} event={self.sync[2]}'
209  if self.transition == Phase.esSyncEnqueue or self.transition == Phase.esSync:
210  return f'run={self.sync[0]} lumi={self.sync[1]}'
211  if self.transition == Phase.beginJob:
212  return ''
213  if self.transition == Phase.beginProcessBlock or self.transition == Phase.endProcessBlock or self.transition == Phase.writeProcessBlock or self.transition == Phase.accessInputProcessBlock:
214  return ''
215  if self.transition == Phase.startTracing:
216  return ''
217  if self.transition == Phase.construction or self.transition == Phase.destruction:
218  return ''

◆ text()

def edmTracerCompactLogViewer.FrameworkTransitionParser.text (   self,
  context 
)

Definition at line 221 of file edmTracerCompactLogViewer.py.

221  def text(self, context):
222  return f'{self.textPrefix()} {self.textSpecial()}: {self.textPostfix()}'
223 

◆ textPostfix()

def edmTracerCompactLogViewer.FrameworkTransitionParser.textPostfix (   self)

Definition at line 219 of file edmTracerCompactLogViewer.py.

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

◆ textPrefix()

def edmTracerCompactLogViewer.FrameworkTransitionParser.textPrefix (   self)

Member Data Documentation

◆ index

edmTracerCompactLogViewer.FrameworkTransitionParser.index

Definition at line 187 of file edmTracerCompactLogViewer.py.

Referenced by edmTracerCompactLogViewer.EDModuleTransitionParser._postJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._postJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonVis(), edmTracerCompactLogViewer.EDModuleTransitionParser._preJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._preJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonVis(), edmTracerCompactLogViewer.PostSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModulePrefetchingParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModuleAcquireParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.jsonVisInfo(), edmTracerCompactLogViewer.EDModuleTransitionParser.textPrefix(), edmTracerCompactLogViewer.ESModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPrefix(), and edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.textPrefix().

◆ sync

edmTracerCompactLogViewer.FrameworkTransitionParser.sync

◆ time

edmTracerCompactLogViewer.FrameworkTransitionParser.time

Definition at line 189 of file edmTracerCompactLogViewer.py.

Referenced by edmTracerCompactLogViewer.EDModuleTransitionParser._postJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._postJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonVis(), edmTracerCompactLogViewer.EDModuleTransitionParser._preJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._preJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonVis(), edmTracerCompactLogViewer.QueuingFrameworkTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModulePrefetchingParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModuleAcquireParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.jsonVisInfo(), edmTracerCompactLogViewer.FrameworkTransitionParser.textPrefix(), edmTracerCompactLogViewer.SourceTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.textPrefix(), edmTracerCompactLogViewer.EDModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.SourceTransitionParser.textPrefix(), edmTracerCompactLogViewer.ESModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPrefix(), and edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.textPrefix().

◆ transition

edmTracerCompactLogViewer.FrameworkTransitionParser.transition

Definition at line 186 of file edmTracerCompactLogViewer.py.

Referenced by edmModuleAllocMonitorAnalyze.ModuleData.__repr__(), edmTracerCompactLogViewer.EDModuleTransitionParser._postJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._postJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonVis(), edmTracerCompactLogViewer.EDModuleTransitionParser._preJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._preJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonVis(), edmTracerCompactLogViewer.EDModuleTransitionParser.baseIndentLevel(), edmTracerCompactLogViewer.ESModuleTransitionParser.baseIndentLevel(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.baseIndentLevel(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.baseIndentLevel(), edmTracerCompactLogViewer.FrameworkTransitionParser.indentLevel(), edmTracerCompactLogViewer.SourceTransitionParser.indentLevel(), edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.indentLevel(), edmModuleAllocMonitorAnalyze.SourceTransitionParser.indentLevel(), edmTracerCompactLogViewer.PreFrameworkTransitionParser.jsonInfo(), edmTracerCompactLogViewer.PostFrameworkTransitionParser.jsonInfo(), edmTracerCompactLogViewer.QueuingFrameworkTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModulePrefetchingParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModuleAcquireParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.jsonVisInfo(), edmTracerCompactLogViewer.FrameworkTransitionParser.syncText(), edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.syncText(), edmTracerCompactLogViewer.EDModuleTransitionParser.textPrefix(), edmTracerCompactLogViewer.ESModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.textPrefix(), and edmModuleAllocMonitorAnalyze.ModuleData.toSimpleDict().