Creates a scaled clock by mapping the passage of time in the underlying clock to the passage of time in the scaled clock.
Creates a scaled clock by mapping the passage of time in the underlying clock to the passage of time in the scaled clock.
For example: ScaledClock(10.seconds -> 10.minutes)
will create a clock that reports the passing of ten minutes
for every 10 seconds that pass according to the underlying clock.
The ratio of time from the underlying clock to time in the scaled clock.
The underlying clock to scale the time of.
A factory for scaled clocks.