ThroughputTracker
class ThroughputTracker(windowSize: Int = 10, timeSource: TimeSource = TimeSource.Monotonic)(source)
Sliding window throughput tracker to calculate current transfer speed in bytes per second. Adapted from kmp-ble's DfuProgress throughput tracking.