Skip to content

Export timestamps relative to system clock#6

Merged
bethebunny merged 1 commit intomainfrom
push-tmouxslrnrup
Oct 23, 2025
Merged

Export timestamps relative to system clock#6
bethebunny merged 1 commit intomainfrom
push-tmouxslrnrup

Conversation

@bethebunny
Copy link
Copy Markdown
Owner

time.perf_counter_ns uses the monotonic clock which isn't aligned with the system time.

  • Keep using perf_counter_ns at runtime to keep the same performance
  • At export time update the timestamps to align with the system time

`time.perf_counter_ns` uses the monotonic clock which isn't aligned with
the system time.

- Keep using `perf_counter_ns` at runtime to keep the same performance
- At export time update the timestamps to align with the system time
@bethebunny bethebunny merged commit 66928fc into main Oct 23, 2025
16 checks passed
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.

1 participant