Pin clock::ticks_from_counter with unit tests #588
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#588
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@AnastasisKon on GitHub · 2026-11-28 10:15 UTC · original
Step toward steadier host timing on the native path.
crates/victory-gpu/src/clock.rshasticks_from_counter(count, frequency)with no tests: the u128 multiply/divide againstcounter_frequency()(1e9 on posix) and the saturation atu64::MAXare unpinned.Add unit tests covering: zero count, exact scaling at frequency == counter_frequency(), rounding down for non-divisible products, and saturation for huge counts. No behaviour change.
@AnastasisKon on GitHub · 2026-11-28 10:15 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-28 10:15 UTC · original
Claimed by @AnastasisKon. Open a draft pull request with
Refs #584in its description within 24 hours, or the claim expires.@AnastasisKon on GitHub · 2026-11-28 12:37 UTC · original
/release - done: PR #589 pins
clock::ticks_from_counterandtickswith unit tests. Carried in my fork'smain(AnastasisKon/Native-Victory-macOS @69146296) with the full gate green (tests, clippy for Windows -D warnings,cargo xtask policy). Nothing merges upstream while the port is paused, so freeing the queue rather than holding a claim nobody can act on.@github-actions[bot] on GitHub · 2026-11-28 12:37 UTC · original
Released. This issue is free to claim.
@AnastasisKon on GitHub · 2026-11-28 17:05 UTC · original
The tests this asks for are in the tree already (the mapping, the FXSAVE accessors, the clock scaling and
normaliseare all pinned); closing.