Open ST-DDT opened 6 years ago
I will look at this once I got the time.
@sullerandras What do you think about this feature?
Originally it worked very similar to how you described it above: the count
and capacity
was different, and the count
started from 0
. So the percentage after 60 tick was the utilization for the first second. The percentage was getting closer and closer to the "real" utilization every second.
This got lost in a refactoring: https://github.com/sullerandras/UtilizationMonitor/commit/343e94973204c5c8db3319d70e22646ceb592137#diff-2f29ee9c98c28d035046fb40285456daL7
Maybe we should bring this feature back.
Feel free to look into it, to be honest i don't have much time these days to play Factorio.
Currently newly build entities start with a average of 0%. And it takes quite a while to update the long term average to the final result. This would be even more true once: https://github.com/sullerandras/UtilizationMonitor/issues/15 gets implemented
It would be nice if the was some kind of hotkey that forces the next 60 updates to directly update the long term average.