mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #1198] present: look up retained frame tokens by age #1230
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1230
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1198
Author: @Kadamitas
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:perf/retained-frame-token-lookup📝 Commits (1)
7b61143present: look up retained frame tokens by age📊 Changes
1 file changed (+35 additions, -37 deletions)
View changed files
📝
runtime/src/frame_pacer.h(+35 -37)📄 Description
Claimed in the coordination issue as direct lookup of retained FramePacer records.
What and why
Several FramePacer operations scan the same retained history to find one frame token. Tokens in that history are consecutive, so their age identifies a record directly. Use one bounded lookup for statistics, submission timing and retirement, preserving missing and expired token behavior and the existing lock.
Tested
GPUs tested: N/A. The frame-pacer fixture uses a simulated clock.
AI-assisted: yes.
Checklist
main(6293c1c4f).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.