All you need is a variable in a shared scope, say int completionsPerSecond = 0
- and last thing your Run()
method should do is increment it by 1.
Then you'd have a timer that every second, copies the value in completionsPerSecond
to show you as your value, and then sets completionsPerSecond
to 0.
Now every second, you'll know how many finished in the previous second.