Skip to content

Commit

Permalink
Scheduled stat reports accumulated values
Browse files Browse the repository at this point in the history
Copy of
477a7b4
  • Loading branch information
eudoxos committed May 21, 2024
1 parent ee563aa commit 826c500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mupifDB/workflowscheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ def historyUpdateLoad(data, epoch, currentLoad):
data['s1_loadTicks'][-1]+=1
def historyUpdatePooled(data, epoch, numberOfPendingExecution):
historyMove(data,epoch)
data['s1_pooledTasks'][-1] = numberOfPendingExecution
data['s1_pooledTasks'][-1] += numberOfPendingExecution
def historyUpdateRunning(data, epoch):
historyMove(data,epoch)
data['s1_pooledTasks'][-1] -= 1
#data['s1_pooledTasks'][-1] -= 1 # history tracks accumulated values
#data['s1_runningTasks'][-1] += 1
def historyUpdateFinished(data, epoch):
historyMove(data,epoch)
Expand Down

0 comments on commit 826c500

Please sign in to comment.