mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 04:55:44 +00:00
Record the Worker start-time receipt prototype
This commit is contained in:
1 parent
481c16b43f
commit
b3befba581
1 file changed
+4
@@ -74,6 +74,10 @@ The game was not run, cap settings were unchanged, and no fence or FPS result wa
|
||||
|
||||
One design to evaluate is recording the trusted app-owned worker's self-reported start time via Binder as a candidate only. It must still match a raw live post-exec read, a live pidfd, and the exact executable mapping before the host advertises the test protocol or admits a fence. This alternate source has not been implemented or accepted.
|
||||
|
||||
**Worker receipt prototype implemented.** The [host artifact run](https://github.com/Droid-Deck/DroidDeck/actions/runs/47165208888) pins `2feb35aa5ecee615c642bcd2e6dbb9e29c8291c1`. The non-exported worker Binder endpoint authenticates the same-UID caller and returns a fixed-size record of the worker's own PID and start-time ticks. It allows provisional registration only for pre-exec proc visibility or access errors; mismatches, read or parse errors, a zero start time, and worker death still fail closed. Before advertising or admitting fences, native code must still match the raw post-exec start time, a live pidfd, and the exact executable mapping's inode.
|
||||
|
||||
Android C and Kotlin test builds, the receipt payload cases, and the live Linux pidfd/proc fixture passed. The ordinary service bytecode has no receipt method. The hosted artifact and Thor validation are pending. This does not establish why the earlier pre-exec read returned zero or show any fence or FPS change.
|
||||
|
||||
## Hypotheses and next test
|
||||
|
||||
1. The adjacent-build drop is consistent with the missing-fence guard routing a previously fast path to copy. Explicitly disabling native zero-copy reproduces the same rate, but does not establish why the copy wait is about 46 ms.
|
||||
|
||||
Reference in new issue
Block a user