Lines Matching refs:counts
166 StartAction(action *Action, counts Counts)
171 FinishAction(result ActionResult, counts Counts)
190 counts Counts member
234 s.counts.TotalActions += diff
241 s.counts.RunningActions += 1
242 s.counts.StartedActions += 1
245 o.StartAction(action, s.counts)
253 s.counts.RunningActions -= 1
254 s.counts.FinishedActions += 1
257 o.FinishAction(result, s.counts)
277 counts Counts member
288 if total >= d.counts.StartedActions && total != d.counts.TotalActions {
289 diff = total - d.counts.TotalActions
290 d.counts.TotalActions = total
303 d.counts.RunningActions += 1
304 d.counts.StartedActions += 1
306 if d.counts.StartedActions > d.counts.TotalActions {
307 totalDiff = d.counts.StartedActions - d.counts.TotalActions
308 d.counts.TotalActions = d.counts.StartedActions
320 d.counts.RunningActions -= 1
321 d.counts.FinishedActions += 1
344 if d.counts.TotalActions != d.counts.StartedActions {
345 d.status.updateTotalActions(d.counts.StartedActions - d.counts.TotalActions)
349 d.counts.RunningActions = 0
350 d.counts.TotalActions = d.counts.StartedActions