Classes | |
class | Point |
class | Stack |
class | StallMonitorParser |
class | StreamInfoElement |
class | TracerParser |
Functions | |
def | adjacentDiff |
def | chooseParser |
def | consolidateContiguousBlocks |
def | createAsciiImage |
def | createModuleTiming |
def | createPDFImage |
def | findStalledModules |
def | getTime |
def | mergeContiguousBlocks |
def | parseTracerOutput |
def | plotPerStreamAboveFirstAndPrepareStack |
def | printHelp |
def | printStalledModulesInOrder |
def | processingStepsFromStallMonitorOutput |
def | readLogFile |
def | reduceSortedPoints |
Variables | |
string | action = 'store_true' |
tuple | args = parser.parse_args() |
checkOrder = args.order | |
string | const = 'stall.pdf' |
float | default = 0.0 |
string | dest = 'graph' |
displayExternalWork = args.external | |
doGraphic = False | |
doModuleTimings = False | |
tuple | extension = pdfFile.split('.') |
string | help = 'file to process' |
inputFile = args.filename | |
string | kSourceDelayedRead = "sourceDelayedRead" |
string | kSourceFindEvent = "sourceFindEvent" |
string | metavar = "'stall.pdf'" |
string | nargs = '?' |
tuple | parser |
pdfFile = args.graph | |
tuple | reader = readLogFile(inputFile) |
setXAxis = False | |
shownStacks = args.stack | |
string | stackType = 'stack' |
tuple | stalledModules = findStalledModules(reader.processingSteps(), reader.numStreams) |
tuple | supported_filetypes = plt.figure() |
tuple | type = argparse.FileType('r') |
xLower = args.lowerxaxis | |
float | xUpper = 0.0 |
def edmStreamStallGrapher.adjacentDiff | ( | pairLists | ) |
def edmStreamStallGrapher.chooseParser | ( | inputFile | ) |
Definition at line 277 of file edmStreamStallGrapher.py.
References beamvalidation.exit(), print(), and sistrip::SpyUtilities.range().
Referenced by readLogFile().
def edmStreamStallGrapher.consolidateContiguousBlocks | ( | numStreams, | |
streamInfo | |||
) |
Definition at line 503 of file edmStreamStallGrapher.py.
References bitset_utilities.append(), sistrip::SpyUtilities.range(), and BeamSpotPI.unpack().
Referenced by createPDFImage().
def edmStreamStallGrapher.createAsciiImage | ( | processingSteps, | |
numStreams, | |||
maxNameSize | |||
) |
Definition at line 371 of file edmStreamStallGrapher.py.
References print(), sistrip::SpyUtilities.range(), and str.
def edmStreamStallGrapher.createModuleTiming | ( | processingSteps, | |
numStreams | |||
) |
Definition at line 348 of file edmStreamStallGrapher.py.
References bitset_utilities.append(), and sistrip::SpyUtilities.range().
def edmStreamStallGrapher.createPDFImage | ( | pdfFile, | |
shownStacks, | |||
processingSteps, | |||
numStreams, | |||
stalledModuleInfo, | |||
displayExternalWork, | |||
checkOrder, | |||
setXAxis, | |||
xLower, | |||
xUpper | |||
) |
Definition at line 577 of file edmStreamStallGrapher.py.
References PVValHelper.add(), adjacentDiff(), bitset_utilities.append(), consolidateContiguousBlocks(), SiStripPI.max, mergeContiguousBlocks(), plotPerStreamAboveFirstAndPrepareStack(), print(), sistrip::SpyUtilities.range(), reduceSortedPoints(), MatrixUtil.remove(), and ComparisonHelper.zip().
def edmStreamStallGrapher.findStalledModules | ( | processingSteps, | |
numStreams | |||
) |
Definition at line 315 of file edmStreamStallGrapher.py.
References sistrip::SpyUtilities.range().
def edmStreamStallGrapher.getTime | ( | line | ) |
Definition at line 178 of file edmStreamStallGrapher.py.
Referenced by EcalLaserAnalyzer.endJob(), EcalLaserAnalyzer2.endJob(), parseTracerOutput(), and pos::PixelFEDTestDAC.writeXMLHeader().
def edmStreamStallGrapher.mergeContiguousBlocks | ( | blocks | ) |
Definition at line 527 of file edmStreamStallGrapher.py.
Referenced by createPDFImage(), and plotPerStreamAboveFirstAndPrepareStack().
def edmStreamStallGrapher.parseTracerOutput | ( | f | ) |
Definition at line 208 of file edmStreamStallGrapher.py.
References getTime(), and SiStripPI.max.
def edmStreamStallGrapher.plotPerStreamAboveFirstAndPrepareStack | ( | points, | |
allStackTimes, | |||
ax, | |||
stream, | |||
height, | |||
streamHeightCut, | |||
doPlot, | |||
addToStackTimes, | |||
color, | |||
threadOffset | |||
) |
Definition at line 548 of file edmStreamStallGrapher.py.
References mergeContiguousBlocks(), reduceSortedPoints(), and ComparisonHelper.zip().
Referenced by createPDFImage().
def edmStreamStallGrapher.printHelp | ( | ) |
Definition at line 9 of file edmStreamStallGrapher.py.
def edmStreamStallGrapher.printStalledModulesInOrder | ( | stalledModules | ) |
Definition at line 415 of file edmStreamStallGrapher.py.
References join(), SiStripPI.max, and print().
def edmStreamStallGrapher.processingStepsFromStallMonitorOutput | ( | f, | |
moduleNames | |||
) |
Definition at line 71 of file edmStreamStallGrapher.py.
Referenced by edmStreamStallGrapher.StallMonitorParser.processingSteps().
def edmStreamStallGrapher.readLogFile | ( | inputFile | ) |
def edmStreamStallGrapher.reduceSortedPoints | ( | ps | ) |
Definition at line 449 of file edmStreamStallGrapher.py.
Referenced by createPDFImage(), plotPerStreamAboveFirstAndPrepareStack(), and edmStreamStallGrapher.Stack.update().
string edmStreamStallGrapher.action = 'store_true' |
Definition at line 841 of file edmStreamStallGrapher.py.
tuple edmStreamStallGrapher.args = parser.parse_args() |
Definition at line 860 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.checkOrder = args.order |
Definition at line 867 of file edmStreamStallGrapher.py.
string edmStreamStallGrapher.const = 'stall.pdf' |
Definition at line 835 of file edmStreamStallGrapher.py.
float edmStreamStallGrapher.default = 0.0 |
Definition at line 855 of file edmStreamStallGrapher.py.
string edmStreamStallGrapher.dest = 'graph' |
Definition at line 836 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.displayExternalWork = args.external |
Definition at line 866 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.doGraphic = False |
Definition at line 879 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.doModuleTimings = False |
Definition at line 868 of file edmStreamStallGrapher.py.
tuple edmStreamStallGrapher.extension = pdfFile.split('.') |
Definition at line 892 of file edmStreamStallGrapher.py.
Referenced by nanoaod::FlatTable.addExtension(), and ExternalLHEAsciiDumper.endRun().
Definition at line 831 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.inputFile = args.filename |
Definition at line 863 of file edmStreamStallGrapher.py.
string edmStreamStallGrapher.kSourceDelayedRead = "sourceDelayedRead" |
Definition at line 68 of file edmStreamStallGrapher.py.
string edmStreamStallGrapher.kSourceFindEvent = "sourceFindEvent" |
Definition at line 67 of file edmStreamStallGrapher.py.
string edmStreamStallGrapher.metavar = "'stall.pdf'" |
Definition at line 834 of file edmStreamStallGrapher.py.
string edmStreamStallGrapher.nargs = '?' |
Definition at line 833 of file edmStreamStallGrapher.py.
tuple edmStreamStallGrapher.parser |
Definition at line 826 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.pdfFile = args.graph |
Definition at line 864 of file edmStreamStallGrapher.py.
tuple edmStreamStallGrapher.reader = readLogFile(inputFile) |
Definition at line 906 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.setXAxis = False |
Definition at line 872 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.shownStacks = args.stack |
Definition at line 865 of file edmStreamStallGrapher.py.
string edmStreamStallGrapher.stackType = 'stack' |
Definition at line 473 of file edmStreamStallGrapher.py.
tuple edmStreamStallGrapher.stalledModules = findStalledModules(reader.processingSteps(), reader.numStreams) |
Definition at line 910 of file edmStreamStallGrapher.py.
tuple edmStreamStallGrapher.supported_filetypes = plt.figure() |
Definition at line 893 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.type = argparse.FileType('r') |
Definition at line 830 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.xLower = args.lowerxaxis |
Definition at line 877 of file edmStreamStallGrapher.py.
edmStreamStallGrapher.xUpper = 0.0 |
Definition at line 873 of file edmStreamStallGrapher.py.
Referenced by RPixChargeShare.RPixChargeShare().