Skip to content

Commit

Permalink
Set time 0 to begin of processing loop
Browse files Browse the repository at this point in the history
Changed the pdf file so that time 0 is now when the processing loop starts. This makes comparison across different plots easier.
  • Loading branch information
Dr15Jones committed Mar 9, 2018
1 parent 849f098 commit ccae968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FWCore/Concurrency/bin/edmStreamStallGrapher.py
Expand Up @@ -537,10 +537,11 @@ def createPDFImage(pdfFile, shownStacks, processingSteps, numStreams, stalledMod
countDelayedSource = [0 for x in xrange(numStreams)]
countExternalWork = [defaultdict(int) for x in xrange(numStreams)]

timeOffset = processingSteps[0][3]
for n,trans,s,time,isEvent in processingSteps:

startTime = None

time -=timeOffset
# force the time to monotonically increase on each stream
if time < previousTime[s]:
time = previousTime[s]
Expand Down

0 comments on commit ccae968

Please sign in to comment.