CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edmModuleAllocMonitorAnalyze.VisualizationContainers Class Reference
Inheritance diagram for edmModuleAllocMonitorAnalyze.VisualizationContainers:

Public Member Functions

def __init__ (self)
 
def allGlobals (self)
 
def allStreams (self)
 
def findLastInModGlobals (self, index, modID, comparer)
 
def findLastInModStreams (self, index, modID, comparer)
 
def findOpenSlotInModGlobals (self, index, modID)
 
def findOpenSlotInModStreams (self, index, modID)
 
def indexedGlobal (self, index)
 
def indexedStream (self, index)
 

Private Member Functions

def _extendIfNeeded (self, container, index)
 
def _findLastIn (self, index, fullContainer, comparer)
 
def _findOpenSlot (self, index, fullContainer)
 

Private Attributes

 _globals
 
 _modGlobals
 
 _modStreams
 
 _nextTrans
 
 _streams
 

Detailed Description

Definition at line 1004 of file edmModuleAllocMonitorAnalyze.py.

Constructor & Destructor Documentation

◆ __init__()

def edmModuleAllocMonitorAnalyze.VisualizationContainers.__init__ (   self)

Definition at line 1005 of file edmModuleAllocMonitorAnalyze.py.

1005  def __init__(self):
1006  self._modGlobals = [[]]
1007  self._modStreams = [[]]
1008  self._globals = [[]]
1009  self._streams = [[]]
1010  self._nextTrans = []
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

◆ _extendIfNeeded()

def edmModuleAllocMonitorAnalyze.VisualizationContainers._extendIfNeeded (   self,
  container,
  index 
)
private

◆ _findLastIn()

def edmModuleAllocMonitorAnalyze.VisualizationContainers._findLastIn (   self,
  index,
  fullContainer,
  comparer 
)
private

◆ _findOpenSlot()

def edmModuleAllocMonitorAnalyze.VisualizationContainers._findOpenSlot (   self,
  index,
  fullContainer 
)
private

Definition at line 1024 of file edmModuleAllocMonitorAnalyze.py.

References edmTracerCompactLogViewer.Containers._extendIfNeeded(), edmTracerCompactLogViewer.ModuleCentricContainers._extendIfNeeded(), and edmModuleAllocMonitorAnalyze.VisualizationContainers._extendIfNeeded().

Referenced by edmModuleAllocMonitorAnalyze.VisualizationContainers.findOpenSlotInModGlobals(), edmModuleAllocMonitorAnalyze.ModuleCentricVisualizationContainers.findOpenSlotInModGlobals(), edmModuleAllocMonitorAnalyze.ModuleCentricContainers.findOpenSlotInModGlobals(), edmModuleAllocMonitorAnalyze.VisualizationContainers.findOpenSlotInModStreams(), edmModuleAllocMonitorAnalyze.ModuleCentricVisualizationContainers.findOpenSlotInModStreams(), and edmModuleAllocMonitorAnalyze.ModuleCentricContainers.findOpenSlotInModStreams().

1024  def _findOpenSlot(self, index, fullContainer):
1025  self._extendIfNeeded(fullContainer, index)
1026  container = fullContainer[index]
1027  #find open slot
1028  foundOpenSlot = False
1029  for slot in container:
1030  if len(slot) == 0:
1031  foundOpenSlot = True
1032  break
1033  if slot[-1]["finish"] != 0:
1034  foundOpenSlot = True
1035  break
1036  if not foundOpenSlot:
1037  container.append([])
1038  slot = container[-1]
1039  return slot

◆ allGlobals()

def edmModuleAllocMonitorAnalyze.VisualizationContainers.allGlobals (   self)

◆ allStreams()

def edmModuleAllocMonitorAnalyze.VisualizationContainers.allStreams (   self)

◆ findLastInModGlobals()

def edmModuleAllocMonitorAnalyze.VisualizationContainers.findLastInModGlobals (   self,
  index,
  modID,
  comparer 
)

◆ findLastInModStreams()

def edmModuleAllocMonitorAnalyze.VisualizationContainers.findLastInModStreams (   self,
  index,
  modID,
  comparer 
)

◆ findOpenSlotInModGlobals()

def edmModuleAllocMonitorAnalyze.VisualizationContainers.findOpenSlotInModGlobals (   self,
  index,
  modID 
)

◆ findOpenSlotInModStreams()

def edmModuleAllocMonitorAnalyze.VisualizationContainers.findOpenSlotInModStreams (   self,
  index,
  modID 
)

◆ indexedGlobal()

def edmModuleAllocMonitorAnalyze.VisualizationContainers.indexedGlobal (   self,
  index 
)

◆ indexedStream()

def edmModuleAllocMonitorAnalyze.VisualizationContainers.indexedStream (   self,
  index 
)

Member Data Documentation

◆ _globals

edmModuleAllocMonitorAnalyze.VisualizationContainers._globals
private

◆ _modGlobals

edmModuleAllocMonitorAnalyze.VisualizationContainers._modGlobals
private

◆ _modStreams

edmModuleAllocMonitorAnalyze.VisualizationContainers._modStreams
private

◆ _nextTrans

edmModuleAllocMonitorAnalyze.VisualizationContainers._nextTrans
private

Definition at line 1010 of file edmModuleAllocMonitorAnalyze.py.

◆ _streams

edmModuleAllocMonitorAnalyze.VisualizationContainers._streams
private