mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-21 17:16:44 +00:00
Added ability to query how long since the new interval was set to the timed event loop. Discovered that LCM will returning the net effect of the common factors only. Otherwise continued iterating towards time preservation.
This commit is contained in:
@@ -73,6 +73,12 @@ namespace Storage {
|
||||
*/
|
||||
void jump_to_next_event();
|
||||
|
||||
/*!
|
||||
@returns the amount of time that has passed since the last call to @c set_next_time_interval,
|
||||
which will always be less than or equal to the time that was supplied to @c set_next_time_interval.
|
||||
*/
|
||||
Time get_time_into_next_event();
|
||||
|
||||
private:
|
||||
unsigned int _input_clock_rate;
|
||||
Time _event_interval;
|
||||
|
||||
Reference in New Issue
Block a user