-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split timer into monotonic/realtime (#474)
There are different clock times that can be queried on Linux, which are well described in clock_gettime() manpage. There are two main categories: * a monotonic clock that starts at an arbitrary value and only increases. It cannot be modified by the user * a realtime clock whose value corresponds to the Unix timestamp, and which can be modified by the user In one speedrun we modify the system clock to save time, so in preparation for its support, we need to know which function returns which category of clock time. We make our monotonic clock starts at 0, so that it is easier to compute movie length and such. Realtime is the one that is set by the user at startup. Both are shown on GUI main window, and realtime also has the corresponding date and time.
- Loading branch information
1 parent
a265dd4
commit c769194
Showing
16 changed files
with
311 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
## [Unreleased] | ||
### Added | ||
|
||
* Split deterministic timer into monotonic/realtime (#474) | ||
|
||
### Changed | ||
### Fixed | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.