Skip to content

Replace wall clock with monotonic clock - #100

Merged
SamanKazemkhani merged 1 commit into
mainfrom
sk/monotonic-clock
May 8, 2024
Merged

SamanKazemkhani merged 1 commit into
mainfrom
sk/monotonic-clock

Conversation

@SamanKazemkhani

@SamanKazemkhani SamanKazemkhani commented May 2, 2024

Copy link
Copy Markdown
Collaborator

It's a best practice to measure durations with a monotonic clock because wall clock can jump forward and backward.

@SamanKazemkhani
SamanKazemkhani merged commit 730c5d6 into main May 8, 2024
@SamanKazemkhani
SamanKazemkhani deleted the sk/monotonic-clock branch May 8, 2024 17:00
wangbingke0 pushed a commit to wangbingke0/gpudrive that referenced this pull request Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants