mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:25:53 +01:00
[PR #1263] present: measure latency only for observed frame origins #1297
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#1297
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/1263
Author: @Kadamitas
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/frame-origin-latency📝 Commits (1)
32fd2eapresent: sample latency only for observed frame origins📊 Changes
2 files changed (+14 additions, -3 deletions)
View changed files
📝
runtime/src/frame_pacer.h(+5 -3)📝
runtime/test/frame_pacer_test.cpp(+9 -0)📄 Description
Claimed in the coordination issue as: frame-origin latency
Depends on: #1198 touches the same frame timing function. Either change can land first.
What and why
A timeout can return a frame token with no observed origin event. Carry that distinction into presentation statistics so the frame still contributes to the interval and frame counts while origin latency includes only observed origins.
Tested
GPUs tested: n/a (CPU-only tests)
AI-assisted: yes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.