Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9cef8ce87
|
||
|
|
09b1a62f1b
|
||
|
|
e20bf9abc0 | ||
|
|
5440f8a34a |
No files matched your search
@@ -37,6 +37,20 @@ numeric core and does not move; the heading is the full version — corrected 20
|
||||
|
||||
### Changed
|
||||
|
||||
- **Advanced metrics is closed: the ten readings that were "being studied" are now "not read", with the reason**
|
||||
(D154, the owner's decision). What a game sets and asks through Streamline's own functions for a feature — DLSS
|
||||
frame generation's options and state, the video memory DLSS estimates for itself, the options of ray
|
||||
reconstruction, Image Scaling and Dynamic Vibrance, the PC-latency markers — is reached only by handing the game
|
||||
a function of FrameLedger's in place of Streamline's, which is refused. The *Sources* list says so, in English,
|
||||
Vietnamese and Japanese, and the guide no longer says a later release reads more. Nothing that was read stops
|
||||
being read.
|
||||
|
||||
- **The two lines of the graphics card's time say what each is, not which holds the other** (D152, the owner's
|
||||
decision). *GPU active render (idle time excluded)* and *GPU render, start to end (idle time included)* are now
|
||||
*GPU active render (the driver's own figure)* and *GPU render (between the driver's start and end marks)*, in
|
||||
English, Vietnamese and Japanese, and the guide says why: in Cyberpunk 2077 without frame generation the
|
||||
driver's active time is longer than its two marks are apart. The numbers are unchanged.
|
||||
|
||||
- **The guide's page on Advanced metrics says what two of the driver's switches mean** (`guide/12`): the latency
|
||||
report is there in a game that has Reflex built in, whether Reflex is on or off in its menu; `bUseGameSleep`
|
||||
says the game calls Reflex's sleep — NVIDIA asks for that even with Reflex off — and `bLowLatencyMode` is the
|
||||
|
||||
@@ -332,6 +332,50 @@ CI/CD with the native build (`release.yml` exists since P4 PR-5, 2026-09-14 —
|
||||
|
||||
**Total ≈ 5.5–6.5 weeks full-time** — roughly 1.5–2 weeks more than the ETW design, which is the honest price of the accuracy.
|
||||
|
||||
## After the controller train — the owner's order (2026-11-14)
|
||||
|
||||
Advanced metrics is closed (D154) and the controller feature is being built as 0.1.0-beta.50's train. Asked what
|
||||
comes after, the owner was shown six directions and chose four of them, and added distribution. **This is the
|
||||
order of work after the controller train; each begins with a plan of its own and the owner's approval.** Nothing
|
||||
here is designed yet, and what is marked *to verify* is a lead, not a finding.
|
||||
|
||||
1. **Time actually played (AFK segmentation).** The v2 backlog's "AFK segmentation via `GetLastInputInfo`", moved
|
||||
up: the controller train already stores when the keyboard, the mouse or a controller was in use, so the time
|
||||
nobody was at the game can be told apart and left out of a session's averages. Timestamps of activity only —
|
||||
never a key, as that train's Privacy text says.
|
||||
2. **More from what is already stored — interface only, no hook.** The comparison of two stretches of one
|
||||
session ("before and after I changed DLSS Quality to Balanced", v1.1 below), and a timeline for a game that
|
||||
marks where the driver, the game's build or the settings changed, so a drop in frame rate has a date. *To
|
||||
verify*: which of those changes the ledger already records for every session.
|
||||
3. **Stutter from shader compilation (PSO).** `03_METRICS` defines *PSO stutter %* and `05_DETECTION` says no
|
||||
writer exists. New hooks at pipeline creation: staged like Advanced metrics' train B — small releases, the
|
||||
overhead measured, the owner's real games between them, never first on a game inside the user-mode
|
||||
exception's trial (D38).
|
||||
4. **The in-game overlay (FR-15).** v1.1's first line below: live frame rate, frame time, upscaler and
|
||||
ray-tracing state drawn in the game, per game, off by default. The largest and the riskiest of the four — it
|
||||
draws in the game's process — so it comes last, with a risk review of its own (rule 5, and what an
|
||||
anti-cheat makes of a drawing module).
|
||||
5. **Distribution: winget and the Microsoft Store.** The owner uploads to the Store and fills in its listing by
|
||||
hand. FrameLedger has no product in Partner Center yet — the one there today is another program of the
|
||||
owner's — so which type it is submitted as (*EXE or MSI app*, or *MSIX or PWA app*) is part of what the plan
|
||||
settles. The repository's part is what the two channels need from a release. *To verify, before anything is promised*:
|
||||
- whether the Store accepts an **unsigned** installer for an *EXE or MSI app* — the installer is unsigned
|
||||
today (`CLAUDE.md`, Packaging), and if the Store wants a certificate that is a cost and a decision of the
|
||||
owner's; whether an MSIX package is a real alternative for a program that loads a library into games and
|
||||
registers a Vulkan layer;
|
||||
- the installer's silent switch and a versioned, permanent download address for each release, which both
|
||||
channels ask for; whether either takes a pre-release version;
|
||||
- who updates an installation that came from winget or the Store — the App's own updater (Velopack) or the
|
||||
channel — and that the two cannot fight;
|
||||
- a winget manifest per release (address, SHA-256, switches) and whether `release.yml` writes it or the owner
|
||||
submits it;
|
||||
- rule 8 is untouched: a channel that delivers the installer is not a network call of the App's.
|
||||
|
||||
**Not chosen, and not refused**: a stabilising pass with a cross-check against another tool (the limits page
|
||||
still says no reading has been checked against one), and export for CapFrameX and for video overlays. Two things
|
||||
only the owner can settle stay open beside them: what leaving beta takes, and code signing — which direction 5
|
||||
may force.
|
||||
|
||||
## v1.1 — earned features (only after the data path is stable)
|
||||
|
||||
- **In-game overlay** (FR-15): we are already in the process; draw live FPS/frametime/upscaler/RT state. Opt-in per game, off by default. Borderless and fullscreen-flip both handled since we own the swapchain.
|
||||
|
||||
+18
-14
@@ -724,7 +724,7 @@ Rules 4 and 5, the hook inventory, the measured overhead and the anti-cheat guar
|
||||
every hook. `sl::Constants` is read without its camera position, axes and matrices: where the camera is, is where the
|
||||
player is (rule 4). NGX stays closed by its licence (`17_HOOK_ENGINE` §NGX).
|
||||
|
||||
**Train D re-examines a refusal; it does not lift it.** `handoff/history/p0-queue-1-6.md` refused, on five grounds,
|
||||
**Closed 2026-11-14 (owner decision D154): train D is not built, and the refusal stands.** The ten entries it would have read — what a game sets and asks through Streamline's feature functions — have reach `RefusedRoute`: seeing those calls takes handing the game a function of FrameLedger's in place of Streamline's, and a game that fetched its functions before the attach would never call it. What follows is the plan as it stood. **Train D re-examines a refusal; it does not lift it.** `handoff/history/p0-queue-1-6.md` refused, on five grounds,
|
||||
hooking `slGetFeatureFunction` and patching the function it returns. The route to try is a different one:
|
||||
`slGetFeatureFunction` is itself an export (`vendor-exports.json`), so its hook is an ordinary inventory row, and
|
||||
what it hands back could be a wrapper for a fixed list of names instead of a patch at an address learned at run time
|
||||
@@ -910,7 +910,7 @@ the catalog differ in either direction. **Reach** is where a value can be read f
|
||||
FrameLedger measures, from the arguments of a call the Overlay hooks, while the session records Advanced metrics —
|
||||
since 0.1.0-beta.40), `HookedCall` (an argument of a call the Overlay already hooks, not read yet), `NewHook` (a hook
|
||||
that is not built — Train B; no entry carries it since 0.1.0-beta.45), `BeforeAttach` (a call the game makes once,
|
||||
before FrameLedger is inside it, so no hook could read it — D129), `Spike` (Trains C and D), `Refused`, `Deferred`, `Identifier` (D104), `PlayerState`
|
||||
before FrameLedger is inside it, so no hook could read it — D129), `Spike` (Trains C and D; no entry since D154), `Refused`, `Deferred`, `Identifier` (D104), `PlayerState`
|
||||
(rule 4), `Licence`, `NotInHeaders`. ~~Only the first two are read by a build of Train A.~~ The first three are read
|
||||
(`AdvancedMetric.IsRead`).
|
||||
|
||||
@@ -1099,7 +1099,11 @@ session that ended in a menu read 1). **Since 0.1.0-beta.48 (D142) two more seri
|
||||
`adv.nvapi.reflex.gpu_times.` and `active_render`, `frame_time` — the driver's `gpuActiveRenderTimeUs` and
|
||||
`gpuFrameTimeUs`, each the mean over the frames of that read that gave one. They are the driver's own figures, not
|
||||
spans between two of its marks: in Phantom Blade Zero `gpu_render` (the two GPU marks, idle time included) was
|
||||
longer than `total`, which is why its label now says what it includes (D143). An entry of their own keeps the
|
||||
longer than `total`, which is why its label now says what it includes (D143). **Reworded 2026-11-14 (D152)**:
|
||||
NVIDIA's header defines the active time as that span "excluding the idles in between", and in Cyberpunk 2077
|
||||
without frame generation the active time is the longer of the two on nine frames in ten (HANDOFF, item 47) — so
|
||||
the labels now say what each is (*the driver's own figure*; *between the driver's start and end marks*) and no
|
||||
longer that one is the other less its idle time. The numbers and the means are unchanged. An entry of their own keeps the
|
||||
seven spans within what one chart draws as lines. What the *game* asked of Reflex (`nvapi.reflex.mode`) is an argument of a function no module exports:
|
||||
reading it takes a patch at an address learned at run time, which is refused.
|
||||
|
||||
@@ -1110,21 +1114,21 @@ reading it takes a patch at an address learned at run time, which is refused.
|
||||
| `nvapi.reflex.frame_report` | Latency per frame: simulation, render submit, present, driver, OS queue, GPU render | Series, one per device | Nvapi | GameDriver | Microseconds |
|
||||
| `nvapi.reflex.gpu_times` | The graphics card's time per frame, as the driver works it out: active render, frame to frame | Series, one per device | Nvapi | GameDriver | Microseconds |
|
||||
|
||||
**Inside the game: routes a spike decides**
|
||||
**Inside the game: Streamline's feature functions — not read (D154, 2026-11-14)**
|
||||
|
||||
| Id | What it is | Scope | Source | Reach | Unit |
|
||||
|---|---|---|---|---|---|
|
||||
| `sl.dlss.optimal_settings` | The render size and sharpness DLSS recommends | SessionFact | Streamline | Spike | Text |
|
||||
| `sl.dlss.vram_estimate` | DLSS's own estimate of its video memory | Series | Streamline | Spike | Mebibytes |
|
||||
| `sl.dlssg.options` | DLSS frame generation: mode, frames to generate | SessionFact | Streamline | Spike | Text |
|
||||
| `sl.dlssg.state` | DLSS frame generation: status, the most frames it can generate | SessionFact | Streamline | Spike | Text |
|
||||
| `sl.dlssg.frames_presented` | Frames DLSS frame generation presented, by its own count | Series | Streamline | Spike | Count |
|
||||
| `sl.dlssg.vram_estimate` | DLSS frame generation's estimate of its video memory | Series | Streamline | Spike | Mebibytes |
|
||||
| `sl.dlssd.options` | Ray reconstruction's options | SessionFact | Streamline | Spike | Text |
|
||||
| `sl.nis.options` | NVIDIA Image Scaling's options | SessionFact | Streamline | Spike | Text |
|
||||
| `sl.deepdvc.options` | RTX Dynamic Vibrance's options | SessionFact | Streamline | Spike | Text |
|
||||
| `sl.dlss.optimal_settings` | The render size and sharpness DLSS recommends | SessionFact | Streamline | RefusedRoute | Text |
|
||||
| `sl.dlss.vram_estimate` | DLSS's own estimate of its video memory | Series | Streamline | RefusedRoute | Mebibytes |
|
||||
| `sl.dlssg.options` | DLSS frame generation: mode, frames to generate | SessionFact | Streamline | RefusedRoute | Text |
|
||||
| `sl.dlssg.state` | DLSS frame generation: status, the most frames it can generate | SessionFact | Streamline | RefusedRoute | Text |
|
||||
| `sl.dlssg.frames_presented` | Frames DLSS frame generation presented, by its own count | Series | Streamline | RefusedRoute | Count |
|
||||
| `sl.dlssg.vram_estimate` | DLSS frame generation's estimate of its video memory | Series | Streamline | RefusedRoute | Mebibytes |
|
||||
| `sl.dlssd.options` | Ray reconstruction's options | SessionFact | Streamline | RefusedRoute | Text |
|
||||
| `sl.nis.options` | NVIDIA Image Scaling's options | SessionFact | Streamline | RefusedRoute | Text |
|
||||
| `sl.deepdvc.options` | RTX Dynamic Vibrance's options | SessionFact | Streamline | RefusedRoute | Text |
|
||||
| `sl.reflex.state` | Reflex through Streamline: availability and its frame reports | SessionFact | Streamline | RefusedRoute | Table |
|
||||
| `sl.pcl.markers` | PC-latency markers the game sets | Series | Streamline | Spike | Count |
|
||||
| `sl.pcl.markers` | PC-latency markers the game sets | Series | Streamline | RefusedRoute | Count |
|
||||
|
||||
**Closed by a licence**
|
||||
|
||||
|
||||
@@ -1874,7 +1874,7 @@ Moved verbatim, in this order.
|
||||
| M13 ❓ | **Advanced metrics — LibreHardwareMonitor's CPU, memory, motherboard and storage groups, elevated, with PawnIO (D103, 2026-11-11).** Never opened by any build: §M10's elevated run has not been taken either, and this is a larger surface — a sensor chip on the LPC bus, the embedded controller, SPD over SMBus, SMART. Unknown: whether each group opens on the owner's board, what a refresh costs, whether opening the storage group touches removable drives (this PC once had a failing USB drive), and whether any group enables a privilege (`PrivilegeFootprintTests`). | **One elevated run with the probe verb, before the option exists.** Pre-committed: the storage group cannot be opened without touching removable drives → `lhm.storage.*` stays N/A in beta.39 and its reach reads `Deferred`; a node that throws twice → skipped for the session; the Agent above 1% of one core or 150 MB with the option on (NFR-2) → the slow groups are read less often or dropped before the release; a privilege enabled by a group → that group is not opened, and the owner is asked. **Two of the four answered 2026-11-11, before the option exists.** (1) **Storage: not opened, by the first outcome.** LibreHardwareMonitor 0.9.6's `StorageGroup` lists every drive through DiskInfoToolkit's `ReloadStorages` with no filter by bus and follows drives plugged in later — it cannot be opened without touching removable drives. `lhm.storage.*` reads `Deferred`, and `LhmGroups` has no member for it. (2) **Cost, unelevated, measured with `probe-advanced`** on the dev box: one refresh of the graphics-card group alone is 14 ms of processor time (62 ms elapsed) — 1.4% of one core at one a second, above NFR-2 — and one NVAPI read 0.4 ms. By the third outcome the sensor library is read every fifth tick (0.28%). **Still open, and the owner's**: the same probe as administrator with PawnIO — whether the processor, memory and motherboard groups open on this board, what they cost, and `PrivilegeFootprintTests`' new case on a token that holds the privileges (CI's does; the dev box's unelevated run passes by construction). **The first run was taken on 2026-11-12, by the owner, in ordinary use** (0.1.0-beta.40, the Agent as administrator with PawnIO, an i7-14700KF on a board with an IT8689E chip, an RTX 5080), and read here from a copy of the ledger and the Agent's log, not from a probe. **The groups open and read**: nine of ten sessions stored 119 processor series (a clock and a load per thread, temperatures, powers, voltages), 14 memory series and 21 motherboard series (six fans, six temperatures, nine voltages) beside the card's 41 — 195 from the sensor library in all. **No value was compared with another tool**; that is still the owner's. **Two faults, one cause** (`Infrastructure.Telemetry.LhmLibrary`): the Agent held up to three `Computer`s at once, and the library keeps the driver it reads the processor through and its bus mutexes per process — closing one `Computer` let go of them under the others. After seven sessions the Advanced reader's processor device threw `NullReferenceException` twice and was left alone (the page lost the processor until the reader reopened); once a session's start met another instance's close, the reader's `Open` threw `ObjectDisposedException`, and that session stored 17 series instead of 212. **Fixed 2026-11-12**: opens and closes are serialised and a `Computer` is parked, not closed, while another is in use. The cause is read from the log's timing and was not reproduced — it needs this elevation — so **whether the faults are gone is the owner's next sessions to show**: no `advanced: a device is left alone` and no `did not open` in the Agent's log. **First evidence, 2026-11-12, 0.1.0-beta.41, the same PC:** seven sessions between 06:38 and 07:01 with no `advanced:` line at all, each with the option on storing 212 or 213 series; on beta.40 that morning the processor device faulted out after each of six sessions (04:34–05:07) — thirteen of sixteen over the night. The reader failing to open was seen once in sixteen, so this is not yet enough to call that one gone. Still open: any value beside another tool. |
|
||||
| M16 ✅ | **The L2 telemetry layer's cost — the first number, and it is above NFR-2 (found 2026-11-11, measuring something else).** `LhmTelemetrySource` refreshes LibreHardwareMonitor's graphics-card group once a second in every recorded session. `probe-advanced` measured that refresh, through the same library and the same group, at **14 ms of processor time** on the dev box (RTX 5080, 41 mapped sensors, about twenty of them the Direct3D engine nodes the library enumerates per card) — 1.4% of one core, where NFR-2 allows the whole Agent 1% during capture and `14_TESTING` §Hook overhead's Agent figure has never been measured. This is a measurement of the call, not yet of a session: L2's own poller was not instrumented. | **Measure L2 in a session** (the Agent's processor time over a ten-minute capture, telemetry at 1000 ms and at 2000 ms). Pre-committed: at or under 1% → this row closes with the number; above → the owner chooses between a slower default for `telemetry.interval_ms`, reading the sensors the layer keeps from NVAPI on NVIDIA cards (L3 already has most, at 0.4 ms), or amending NFR-2 to what is measured. Not decided here, and nothing about L2 changes in the Advanced-metrics train. **Measured in a real Agent, 2026-11-11 (owner decision D110), and answered (D117).** `tools/agent-cost.ps1` runs the shipped `FrameLedger.Agent.exe --console capture` against a copy of hook-harness in a scratch data folder — a session that is not hooked, so the telemetry poller runs as in every session and nothing drains frames — and reads the Agent process's own processor time at exit; the cost per second is the slope between a 45 s and a 165 s session, two runs of each. Dev box (RTX 5080, not elevated, layers `l1+lhm+nvapi`): **19.3 ms of processor time per second of session = 1.93 % of one core with Advanced metrics off** (2,312 and 2,312 ms over 45 s; 4,594 and 4,656 ms over 165 s), **20.4 ms = 2.04 % with it on** (2,984 and 3,000; 5,547 and 5,344); peak working set 113 MiB and 119 MiB. A first pass with 30 s and 90 s sessions gave 1.56 % and 2.21 % — its two short runs differed by 670 ms, which is why the lengths were raised. So the probe's number holds in a session: the Agent's steady cost is about twice NFR-2's 1 %, nearly all of it the layer every session has always used, and the new option adds about a tenth of a percent. **The owner's answer: NFR-2 is amended to ≤ 2.5 % of one core** — the limit had never been measured, the sensors keep their one reading a second, and nothing in the code changes. Not measured: a hooked session (the drain's cost on top), a session with the Agent elevated and PawnIO's groups open, another PC. |
|
||||
| M14 ❓ | **Reflex latency per frame — is there a route within rules 4 and 5? (Train C, 2026-11-11.)** `17_HOOK_ENGINE` §Memory / latency names hooks on `NvAPI_D3D_SetSleepMode` / `SetLatencyMarker` and a call to `NvAPI_D3D_GetLatency`. NVAPI resolves all three through `nvapi_QueryInterface` by id — they are not exports, so a hook on them is a patch at an address learned at run time, the class refused on 2026-08-09. The route to try first needs no hook: the Overlay's own background thread **calls** `GetLatency` with the device of the swap chain it already hooks, once a second (the call returns the last 64 frames' reports). Unknown: whether calling into the driver from that thread is safe on every device kind, what it costs, what it returns when the game never enabled Reflex, and what it means for the Disclaimer's sentence about that thread. | **A spike on `hook-harness` and a stub first, then one real title.** Pre-committed: no route without a patch at a run-time address or a loader-lock call on the game's thread → Reflex stays N/A and the page says why; overhead above NFR-1 → the same. The owner says go or no on the spike's result. **2026-11-12 — the reading that comes before that spike is `spike-notes` §30** (owner decision D130: a document first, beside 0.1.0-beta.45; nothing was run). It finds: a hook on NVAPI's latency functions is the refused class, and a hook on Streamline's Reflex and PCL functions is train D's wrapper (§M15) — and would miss a game that fetched them before the attach, as `slInit` is missed (D129); the Overlay calling `slReflexGetState` itself breaks the thread contract the vendor's header states; **what remains is the route named in this row**, the Overlay calling two driver getters with the game's device, and a no-injection ETW route that gives the game-side markers only and makes the game post messages to its own window. Corrected there: `nvapi64.dll` exports **two** functions on the dev box (`nvapi_Direct_GetMethod` beside `nvapi_QueryInterface`), not one. The go or no is the owner's, and a go needs the owner's ruling that calling a driver getter with the game's device is inside rule 4. **2026-11-13 — the owner answered (D132, D133).** Route D goes to the spike this row names, on `hook-harness` and a stub `nvapi64.dll`, with the ruling: a driver's read-only getter called with the device of the swap chain the Overlay hooks is inside rule 4 (`CLAUDE.md`, the rule's note of that day). No real game before the owner has seen the result, and nothing shipped changes for the spike (`spike-notes` §31, written after 0.1.0-beta.46). Route C is **refused**; the ETW route **stays closed**, and §G is not reopened. **2026-11-13 — the harness spike is done (`spike-notes` §31), and none of its stop conditions fired.** With a stand-in module: nothing is called or loaded when `nvapi64.dll` is absent, a missing getter is refused whole, an error and a report of nothing read as what they are, and a call the driver holds for seconds stops only the thread that made it — so not the watchdog. With the installed driver (32.0.16.2114, RTX 5080), in the probe's own process and with the probe setting the markers a game would: no fault before `NvAPI_Initialize`, without markers, or across 38 million reads beside a marker-setting thread; a call costs half a microsecond to a microsecond and a half; the report is readable from markers alone, in microseconds; and the Direct3D 12 **device** — the object the Overlay already holds — is what the driver takes. What only a game can say is unanswered: a game's own device, a real report, another driver. **The owner's next word is go or no for one real title**; a go is a plan of its own first. **2026-11-13, the same evening — go (D136)**: a plan for one title, Cyberpunk 2077; no code before the plan is approved, and no release carrying it before a stop while a game runs has been exercised on 0.1.0-beta.46 (owner-only item 44 (d)). **2026-11-13, the plan and four more answers (D138–D141).** The read has **no switch of its own**: it is part of Advanced metrics, so after the release it reaches every Direct3D 12 game that loaded the driver's `nvapi64.dll`, for everyone who switched Advanced metrics on — "one title" is the order of the owner's first runs, not a limit in code (D138). The probe ran a leg with a sleep mode first (D139; `spike-notes` §31, *The leg with a sleep*): **the getters do not wait behind `NvAPI_D3D_Sleep`** — thirty-one million reads beside a thread that slept 97 % of the time, none of a millisecond; a read after a sleeping frame costs about 2.6 µs. An `nvapi64.dll` loaded from the game's own folder is refused with the reason (D140). One call of 2 ms or more switches the read off until the game exits (D141). The plan's design, as reviewed against the source, is in [`handoff/history/0.1.0-beta.46.md`](handoff/history/0.1.0-beta.46.md) §The train after 0.1.0-beta.46. **2026-11-13, night — written; released as 0.1.0Line truncated
|
||||
| M15 ❓ | **The Streamline state behind `slGetFeatureFunction` — re-examined, not reopened (Train D, 2026-11-11).** The owner asked for the refusal in `handoff/history/p0-queue-1-6.md` to be looked at again. `18_GPU_VENDOR_APIS` §The trains states the route to try (hook the export, hand back a wrapper for a fixed list of names) and what it raises: the wrapper is a write to what the game receives, which rule 4 forbids as written; a wrapper must outlive the Overlay's unhook; a game that fetched its functions before the hook existed is never seen. | **A written design against each of the five grounds, then a spike.** Pre-committed: any ground unanswered → the route stays refused, and `sl.dlssg.*`, `sl.reflex.*` and the rest of that block read N/A with "refused" as the reason. Proceeding needs the owner's amendment of rule 4, asked with the rule quoted. |
|
||||
| M15 🅓 | **Decided 2026-11-14 (D154): not built. The owner closed Advanced metrics with the refusal standing; the ten entries are listed as not read, with the reason.** ~~**The Streamline state behind `slGetFeatureFunction` — re-examined, not reopened (Train D, 2026-11-11).**~~ The owner asked for the refusal in `handoff/history/p0-queue-1-6.md` to be looked at again. `18_GPU_VENDOR_APIS` §The trains states the route to try (hook the export, hand back a wrapper for a fixed list of names) and what it raises: the wrapper is a write to what the game receives, which rule 4 forbids as written; a wrapper must outlive the Overlay's unhook; a game that fetched its functions before the hook existed is never seen. | **A written design against each of the five grounds, then a spike.** Pre-committed: any ground unanswered → the route stays refused, and `sl.dlssg.*`, `sl.reflex.*` and the rest of that block read N/A with "refused" as the reason. Proceeding needs the owner's amendment of rule 4, asked with the rule quoted. |
|
||||
| M10 ✅ | ~~PDH `\GPU Engine(*)\Utilization Percentage` summed across engines does not reproduce the Task Manager figure the doc invokes. Decide what we actually report and label it accordingly~~ **Decided 2026-09-09 (PR-E1): L1 does not read the engine counters at all.** `LoadPct` is L2's vendor-reported `GPU Core` load (measured ✓ on NVIDIA, §M5 row R1) and is labelled *GPU load (vendor)* wherever it is shown; on a machine without L2 the field is N/A, never a sum that is not the number the user expects. What L1 does read from PDH is one counter, `\GPU Adapter Memory(luid_…_phys_0)\Dedicated Usage`, bound by LUID — the figure Task Manager labels "Dedicated GPU memory", measured 1301 MB at an idle desktop on the RTX 5080. Reopening this needs a measurement of `max(engine)` against Task Manager's own number, not a decision |
|
||||
|
||||
#### §M5 — the decision table, pre-committed 2026-09-03 BEFORE the first run
|
||||
|
||||
+19
-9
@@ -153,15 +153,20 @@ and its release facts are [`handoff/history/0.1.0-beta.48.md`](handoff/history/0
|
||||
|
||||
1. ~~**The owner runs item 47**~~ **Run and read 2026-11-14** (item 47, *Run 2026-11-14*): the difference in
|
||||
Cyberpunk 2077 is the driver's, the holes are gone from steady play, off means off, and the stop fired once.
|
||||
2. **The owner's to say**: the wording of the two GPU labels (the mean stays — the counts say the driver's
|
||||
active time really is the longer there); whether D141's stop should spare a game's first seconds (Kingdom
|
||||
Come: Deliverance II lost its session's report to one call of 5.3 ms while it started). (f) and (g) are
|
||||
said: the App's *Low Latency Mode* is off, and no hitch.
|
||||
2. **The two GPU labels were reworded on the owner's word** (D152, 2026-11-14; strings in three languages, the
|
||||
guide — in `[Unreleased]`, not in a release yet). **D141's stop stays as it is, and nothing more of Reflex is read** (D153, the owner
|
||||
the same evening: "it only has to tell whether the game has it or not; Kingdom Come: Deliverance II has no
|
||||
Reflex in its settings" — so that session lost nothing to the stop). (f) and (g) are said: the App's *Low
|
||||
Latency Mode* is off, and no hitch.
|
||||
3. **`slAllocateResources`** keeps its patch (D135); looked at again when there are more sessions.
|
||||
4. **Train D** after it, the same way: a spike first — `sl.pcl.markers` waits for it, and §30 found its hook
|
||||
would miss a game that fetched its functions before the attach. **Read 2026-11-14 against Streamline's own
|
||||
guide (§30, *Added 2026-11-14*): the markers are the times the driver's report already gives**, so that entry
|
||||
would add a count and nothing else. Recommended to the owner: leave Reflex and PCL out of train D.
|
||||
4. ~~**Train D**~~ **Advanced metrics is closed (D154, 2026-11-14): train D is not built.** The owner was shown
|
||||
the catalog — 140 entries, 110 read — and what the ten entries of reach `Spike` hold (Streamline's own headers,
|
||||
2.14.16: DLSS frame generation's options and state, the video-memory estimates, ray reconstruction's, Image
|
||||
Scaling's and Dynamic Vibrance's options, the PCL markers), with what reading them takes: a function of ours
|
||||
handed to the game in place of Streamline's (rule 4), which a game that fetched its functions before the
|
||||
attach never calls. The owner: "Đóng luôn". The ten are `RefusedRoute` now, the guide no longer says a later
|
||||
release reads more, and §M15 is decided. **What is next is the controller feature**, planned in a session of
|
||||
its own.
|
||||
|
||||
### Left open by this session
|
||||
|
||||
@@ -987,7 +992,9 @@ left unexercised; item 40 (d).
|
||||
**The stop fired in a real game for the first time** (D141): Kingdom Come: Deliverance II, 12 s after the
|
||||
attach, while the game was starting — the seventh read took 5 337 µs, and no further read was made; the
|
||||
session says so (`Slow`), the game ran 287 s and closed normally. No frame had been reported in those seven
|
||||
reads. Elsewhere the slowest call was 22–235 µs. In Lies of P the driver reported no frame at all.
|
||||
reads. **The owner: that game has no Reflex in its settings** — so there was no report to lose; the
|
||||
session's line says *stopped* where, without the slow call, it would have said *the driver reported no
|
||||
frame*. Elsewhere the slowest call was 22–235 µs. In Lies of P the driver reported no frame at all.
|
||||
**What the states say of Reflex and frame generation** (each batch carries its own): low-latency mode was
|
||||
**on at a multiplier of 1** in Cyberpunk 2077 (88 reads), Black Myth: Wukong (253), Hogwarts Legacy (299) and
|
||||
Dying Light: The Beast (345); Phantom Blade Zero without frame generation sleeps through Reflex with
|
||||
@@ -1169,6 +1176,9 @@ Where each owner decision is recorded — the file and its section, and a label
|
||||
| D149 | [`17_HOOK_ENGINE.md`](17_HOOK_ENGINE.md) §Native logging | told that a bug report carries the five newest Overlay logs and so these lines: **no change to the legal texts** — the Privacy Policy names the logs of the component loaded into games, and the lines are counts and sums of microseconds |
|
||||
| D150 | [`07_IPC.md`](07_IPC.md) §Region 5 | the samples that carry no report are mended **on both sides**: the Overlay reads and publishes on a grid of one second, and the Agent no longer overwrites a reading that waits for a sample |
|
||||
| D151 | [`17_HOOK_ENGINE.md`](17_HOOK_ENGINE.md) §Native logging | the owner's word: Reflex is checked together with frame generation — without it the owner's games do not switch Reflex on, and a low-latency switch that reads on and off is the NVIDIA App's override. A batch of counts belongs to one state of the sleep status |
|
||||
| D152 | [`18_GPU_VENDOR_APIS.md`](18_GPU_VENDOR_APIS.md) §The inventory | the two GPU labels say what each figure is — *the driver's own figure*, *between the driver's start and end marks* — not "idle time excluded / included": item 47 counted the active time as the longer in Cyberpunk 2077. Strings only; numbers and means unchanged |
|
||||
| D153 | [`spike-notes/30-reflex-latency.md`](spike-notes/30-reflex-latency.md) *Added 2026-11-14* | the owner's word: of Reflex it is enough to tell whether a game has it. Reflex and PCL leave train D (`sl.pcl.markers` stays refused), and D141's stop is not changed for a game's first seconds. My reading of one sentence; nothing shipped is removed by it |
|
||||
| D154 | [`18_GPU_VENDOR_APIS.md`](18_GPU_VENDOR_APIS.md) §The trains, [`20_OPEN_QUESTIONS.md`](20_OPEN_QUESTIONS.md) §M15 | Advanced metrics is closed: train D is not built, the ten Streamline entries that waited for a spike are not read (`RefusedRoute`), rule 4 is not amended for them. Nothing shipped is removed |
|
||||
| D109 | [`../legal/DISCLAIMER.md`](../legal/DISCLAIMER.md) §5, §5A | asked on 2026-11-11 with both sentences quoted: the Disclaimer goes to 2.15 with the Privacy Policy — PawnIO and the admin mode are no longer "for the CPU temperature" alone; with Advanced metrics on they also read the processor's, the memory's and the motherboard's sensors. The admin mode's disclosure follows (`agent-admin-dialog/2`) |
|
||||
|
||||
---
|
||||
|
||||
@@ -199,7 +199,8 @@ above fired on the harness, and it ends in the question of one real title.
|
||||
- **The markers are the report.** `slPCLSetMarker` replaces `NvAPI_D3D_SetLatencyMarker`, and the times the
|
||||
markers carry (simulation, render submit, present) are the ones the driver hands back in the report this
|
||||
product already reads (route D). `sl.pcl.markers` would add a count of calls, the ping and the flash trigger —
|
||||
nothing a player reads. **Recommended to the owner: leave Reflex and PCL out of train D.**
|
||||
nothing a player reads. **Recommended to the owner: leave Reflex and PCL out of train D** — **decided the
|
||||
same evening (D153)**: whether a game has Reflex is all that is wanted.
|
||||
- **PC latency is not in the report, and NVIDIA takes it from outside the game**: its PCL statistics, read by
|
||||
tools started from an administrator's prompt (route E here). D147 stands on that; two design tables that still
|
||||
promised "PC latency as reported by Reflex" were corrected today (`03_METRICS`, `05_DETECTION`).
|
||||
|
||||
@@ -101,11 +101,15 @@ while Reflex is off, so *On* there does not say Reflex is on — `bLowLatencyMod
|
||||
while frame generation is on. Frame generation needs Reflex and not the other way round: the mode can be on
|
||||
with `fgMultiplier` at 1.
|
||||
|
||||
**The stages overlap; they are not parts that add up to the total.** And *GPU render, start to end* includes the
|
||||
time the card spent waiting between pieces of work — in one game it is longer than the whole frame. So a second
|
||||
chart, **the graphics card's time per frame, as the driver works it out**, has two lines of the driver's own
|
||||
figures: *GPU active render*, the same stage without the waiting, and *GPU frame time*, from the end of one
|
||||
frame's work to the end of the next. A driver may give neither; the chart is then not there, and nothing is wrong.
|
||||
**The stages overlap; they are not parts that add up to the total.** And *GPU render* is the time between two
|
||||
marks the driver sets, at the start and at the end of the card's work on a frame: where the card waits between
|
||||
pieces of work, the waiting is in it — in one game it is longer than the whole frame. So a second chart, **the
|
||||
graphics card's time per frame, as the driver works it out**, has two lines of the driver's own figures: *GPU
|
||||
active render*, how long the driver says the card worked on the frame, and *GPU frame time*, from the end of one
|
||||
frame's work to the end of the next. **The active time is usually the shorter of the two, and not always**: in
|
||||
Cyberpunk 2077 without frame generation it is about a fifth longer than the two marks are apart, frame after
|
||||
frame — the driver counts work its marks do not enclose. Both are shown as the driver gives them. A driver may
|
||||
give neither; the chart is then not there, and nothing is wrong.
|
||||
|
||||
Three things to know about them:
|
||||
|
||||
@@ -151,10 +155,14 @@ comes from, and whether it is read. Where it is not, the reason is written out:
|
||||
administrator*);
|
||||
- **not present on this PC** — the driver's own figures exist on NVIDIA cards only;
|
||||
- **read inside a game FrameLedger measures, when the game makes the call** — what the game tells DLSS and FSR
|
||||
(above). Some further readings inside the game **come with a later release**;
|
||||
(above);
|
||||
- **read inside a game FrameLedger measures, from the graphics driver** — NVIDIA's latency report (above);
|
||||
- **not read: it would take a patch at an address found while the game runs, or a call the vendor forbids from
|
||||
outside the game's own threads** — what the game asked of Reflex, and Reflex's state through Streamline;
|
||||
- **not read: it would take a patch at an address found while the game runs, a function of FrameLedger's handed
|
||||
to the game in place of the vendor's, or a call the vendor forbids from outside the game's own threads** — what
|
||||
the game asked of Reflex, Reflex's state through Streamline, and what a game sets and asks through Streamline's
|
||||
own functions for a feature: DLSS frame generation's options and state, the video memory DLSS estimates for
|
||||
itself, and the options of ray reconstruction, Image Scaling and Dynamic Vibrance. No later release will read
|
||||
these;
|
||||
- **the game makes this call once, before FrameLedger is inside it** — what the game started Streamline with. It is
|
||||
not read, and no later release will read it;
|
||||
- **never read** — a serial number, a display's identification data, which other programs are encoding, the camera's
|
||||
|
||||
@@ -958,7 +958,7 @@
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="AdvReach_RefusedRoute" xml:space="preserve">
|
||||
<value>読み取りません: ゲーム実行中にしか分からないアドレスへのパッチ、またはゲーム自身のスレッド以外からの呼び出しをベンダーが禁じている関数が必要になるためです - どちらも行いません</value>
|
||||
<value>読み取りません: ゲーム実行中にしか分からないアドレスへのパッチ、ベンダーの関数の代わりに FrameLedger の関数をゲームに渡すこと、またはゲーム自身のスレッド以外からの呼び出しをベンダーが禁じている関数が必要になるためです - いずれも行いません</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="AdvReach_Spike" xml:space="preserve">
|
||||
@@ -1054,7 +1054,7 @@
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="AdvToken_active_render" xml:space="preserve">
|
||||
<value>GPU 実描画 (待機時間を除く)</value>
|
||||
<value>GPU 実描画 (ドライバーの算出値)</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="AdvToken_frame_time" xml:space="preserve">
|
||||
@@ -1062,7 +1062,7 @@
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="AdvToken_gpu_render" xml:space="preserve">
|
||||
<value>GPU 描画、開始から終了まで (待機時間を含む)</value>
|
||||
<value>GPU 描画 (ドライバーの開始マークから終了マークまで)</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="AdvToken_gsync_module" xml:space="preserve">
|
||||
|
||||
@@ -724,7 +724,7 @@
|
||||
<value>Not read: it would make the sensor library search every USB device</value>
|
||||
</data>
|
||||
<data name="AdvReach_RefusedRoute" xml:space="preserve">
|
||||
<value>Not read: it would take a patch at an address found while the game runs, or a call the vendor forbids from outside the game's own threads - both refused</value>
|
||||
<value>Not read: it would take a patch at an address found while the game runs, a function of FrameLedger's handed to the game in place of the vendor's, or a call the vendor forbids from outside the game's own threads - all refused</value>
|
||||
</data>
|
||||
<data name="AdvReach_Spike" xml:space="preserve">
|
||||
<value>Being studied; not decided</value>
|
||||
@@ -796,13 +796,13 @@
|
||||
<value>Game Ready</value>
|
||||
</data>
|
||||
<data name="AdvToken_active_render" xml:space="preserve">
|
||||
<value>GPU active render (idle time excluded)</value>
|
||||
<value>GPU active render (the driver's own figure)</value>
|
||||
</data>
|
||||
<data name="AdvToken_frame_time" xml:space="preserve">
|
||||
<value>GPU frame time, one frame's end to the next</value>
|
||||
</data>
|
||||
<data name="AdvToken_gpu_render" xml:space="preserve">
|
||||
<value>GPU render, start to end (idle time included)</value>
|
||||
<value>GPU render (between the driver's start and end marks)</value>
|
||||
</data>
|
||||
<data name="AdvToken_gsync_module" xml:space="preserve">
|
||||
<value>G-SYNC module</value>
|
||||
|
||||
@@ -719,7 +719,7 @@
|
||||
<value>Không đọc: việc này khiến thư viện cảm biến dò mọi thiết bị USB</value>
|
||||
</data>
|
||||
<data name="AdvReach_RefusedRoute" xml:space="preserve">
|
||||
<value>Không đọc: việc đó cần vá mã tại một địa chỉ chỉ tìm được khi game đang chạy, hoặc một lời gọi mà nhà cung cấp cấm thực hiện từ ngoài luồng của game - cả hai đều bị từ chối</value>
|
||||
<value>Không đọc: việc đó cần vá mã tại một địa chỉ chỉ tìm được khi game đang chạy, hoặc đưa cho game một hàm của FrameLedger thay cho hàm của nhà cung cấp, hoặc một lời gọi mà nhà cung cấp cấm thực hiện từ ngoài luồng của game - tất cả đều bị từ chối</value>
|
||||
</data>
|
||||
<data name="AdvReach_Spike" xml:space="preserve">
|
||||
<value>Đang nghiên cứu; chưa quyết định</value>
|
||||
@@ -791,13 +791,13 @@
|
||||
<value>Game Ready</value>
|
||||
</data>
|
||||
<data name="AdvToken_active_render" xml:space="preserve">
|
||||
<value>GPU thực sự vẽ (không tính lúc nghỉ)</value>
|
||||
<value>GPU thực sự vẽ (số do driver tự tính)</value>
|
||||
</data>
|
||||
<data name="AdvToken_frame_time" xml:space="preserve">
|
||||
<value>nhịp khung của GPU, từ lúc xong khung này tới lúc xong khung kế</value>
|
||||
</data>
|
||||
<data name="AdvToken_gpu_render" xml:space="preserve">
|
||||
<value>GPU vẽ, từ lúc bắt đầu tới lúc xong (gồm cả lúc nghỉ)</value>
|
||||
<value>GPU vẽ (giữa mốc bắt đầu và mốc kết thúc của driver)</value>
|
||||
</data>
|
||||
<data name="AdvToken_gsync_module" xml:space="preserve">
|
||||
<value>Mô-đun G-SYNC</value>
|
||||
|
||||
@@ -193,20 +193,24 @@ public static class AdvancedMetricCatalog
|
||||
// its two GPU marks includes the card's idle time and was longer than a frame's whole in a real game.
|
||||
SampledFamily("nvapi.reflex.gpu_times", Nvapi, GameDriver, Microseconds, Latency, "The graphics card's time per frame, as the driver works it out: active render, frame to frame"),
|
||||
|
||||
// ---- Inside the game: routes a spike decides ------------------------------------------------------------
|
||||
Session("sl.dlss.optimal_settings", Streamline, Spike, Text, Upscaling, "The render size and sharpness DLSS recommends"),
|
||||
Sampled("sl.dlss.vram_estimate", Streamline, Spike, Mebibytes, Upscaling, "DLSS's own estimate of its video memory"),
|
||||
Session("sl.dlssg.options", Streamline, Spike, Text, FrameGeneration, "DLSS frame generation: mode, frames to generate"),
|
||||
Session("sl.dlssg.state", Streamline, Spike, Text, FrameGeneration, "DLSS frame generation: status, the most frames it can generate"),
|
||||
Sampled("sl.dlssg.frames_presented", Streamline, Spike, Count, FrameGeneration, "Frames DLSS frame generation presented, by its own count"),
|
||||
Sampled("sl.dlssg.vram_estimate", Streamline, Spike, Mebibytes, FrameGeneration, "DLSS frame generation's estimate of its video memory"),
|
||||
Session("sl.dlssd.options", Streamline, Spike, Text, Upscaling, "Ray reconstruction's options"),
|
||||
Session("sl.nis.options", Streamline, Spike, Text, Upscaling, "NVIDIA Image Scaling's options"),
|
||||
Session("sl.deepdvc.options", Streamline, Spike, Text, Upscaling, "RTX Dynamic Vibrance's options"),
|
||||
// ---- Inside the game: Streamline's feature functions - not read ---------------------------------------
|
||||
// Advanced metrics is closed (owner decision D154, 2026-11-14). None of these is an export: a game gets each
|
||||
// function through slGetFeatureFunction and keeps the pointer, so seeing its calls would take handing the game
|
||||
// a function of ours in place of Streamline's - a write to what the game receives (rule 4) - and would still
|
||||
// miss every game that fetched its functions before the attach. They stay listed, with the reason.
|
||||
Session("sl.dlss.optimal_settings", Streamline, RefusedRoute, Text, Upscaling, "The render size and sharpness DLSS recommends"),
|
||||
Sampled("sl.dlss.vram_estimate", Streamline, RefusedRoute, Mebibytes, Upscaling, "DLSS's own estimate of its video memory"),
|
||||
Session("sl.dlssg.options", Streamline, RefusedRoute, Text, FrameGeneration, "DLSS frame generation: mode, frames to generate"),
|
||||
Session("sl.dlssg.state", Streamline, RefusedRoute, Text, FrameGeneration, "DLSS frame generation: status, the most frames it can generate"),
|
||||
Sampled("sl.dlssg.frames_presented", Streamline, RefusedRoute, Count, FrameGeneration, "Frames DLSS frame generation presented, by its own count"),
|
||||
Sampled("sl.dlssg.vram_estimate", Streamline, RefusedRoute, Mebibytes, FrameGeneration, "DLSS frame generation's estimate of its video memory"),
|
||||
Session("sl.dlssd.options", Streamline, RefusedRoute, Text, Upscaling, "Ray reconstruction's options"),
|
||||
Session("sl.nis.options", Streamline, RefusedRoute, Text, Upscaling, "NVIDIA Image Scaling's options"),
|
||||
Session("sl.deepdvc.options", Streamline, RefusedRoute, Text, Upscaling, "RTX Dynamic Vibrance's options"),
|
||||
// A refused route (owner decision D133): the Overlay calling slReflexGetState itself breaks the thread
|
||||
// contract the vendor's header states.
|
||||
Session("sl.reflex.state", Streamline, RefusedRoute, Table, Latency, "Reflex through Streamline: availability and its frame reports"),
|
||||
Sampled("sl.pcl.markers", Streamline, Spike, Count, Latency, "PC-latency markers the game sets"),
|
||||
Sampled("sl.pcl.markers", Streamline, RefusedRoute, Count, Latency, "PC-latency markers the game sets"),
|
||||
|
||||
// ---- Closed by a licence --------------------------------------------------------------------------------
|
||||
Session("ngx.parameters", Ngx, Licence, Table, Upscaling, "NGX parameters: the quality value, the DLSS hints"),
|
||||
|
||||
@@ -25,7 +25,10 @@ public enum AdvancedReach
|
||||
/// <summary>Needs a hook on a function its module exports; the hook is not built. No entry carries it since 0.1.0-beta.45.</summary>
|
||||
NewHook = 4,
|
||||
|
||||
/// <summary>A route nobody has proven safe: a spike decides, and the owner says go or no.</summary>
|
||||
/// <summary>
|
||||
/// A route nobody has proven safe: a spike decides, and the owner says go or no. No entry carries it since the
|
||||
/// owner closed Advanced metrics (D154, 2026-11-14): the ten that did are <see cref="RefusedRoute"/>.
|
||||
/// </summary>
|
||||
Spike = 5,
|
||||
|
||||
/// <summary>A source the project decided not to open (D103).</summary>
|
||||
@@ -70,7 +73,8 @@ public enum AdvancedReach
|
||||
/// <summary>
|
||||
/// Reading it needs a route the project refused, whatever the source: a patch at an address learned at run time
|
||||
/// (what a game asks of Reflex is an argument of a function no module exports), or a call the vendor's own header
|
||||
/// forbids from a thread that is not the game's (owner decision D133). Never read.
|
||||
/// forbids from a thread that is not the game's (owner decision D133), or a function of ours handed to the game in
|
||||
/// place of the vendor's (what a game sets and asks through Streamline's feature functions - D154). Never read.
|
||||
/// </summary>
|
||||
RefusedRoute = 15,
|
||||
}
|
||||
@@ -455,13 +455,16 @@ public sealed class AdvancedPresenterTests
|
||||
];
|
||||
AdvancedPresenter.Metrics(series, []).Select(static m => m.Id).Should().BeEquivalentTo("nvapi.reflex.frame_report", "nvapi.reflex.gpu_times");
|
||||
|
||||
// The span between the driver's two GPU marks says what it includes, in every language (D143).
|
||||
// The span between the driver's two GPU marks says what it is, in every language (D143) - and neither label says
|
||||
// which of the two holds the other (D152): in Cyberpunk 2077 the driver's active time is the longer.
|
||||
foreach (string culture in new[] { "", "vi", "ja" })
|
||||
{
|
||||
string render = Strings.ResourceManager.GetString(nameof(Strings.AdvToken_gpu_render), CultureInfo.GetCultureInfo(culture))!;
|
||||
string active = Strings.ResourceManager.GetString(nameof(Strings.AdvToken_active_render), CultureInfo.GetCultureInfo(culture))!;
|
||||
render.Should().Contain("(", "the label carries what the span includes");
|
||||
render.Should().Contain("(", "the label carries what the span is");
|
||||
render.Should().NotBe(active);
|
||||
render.Should().NotContain("idle", "the span is not said to include the active time's idle time");
|
||||
active.Should().NotContain("idle", "the active time is not said to be the span less its idle time");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -114,6 +114,20 @@ public sealed partial class AdvancedMetricCatalogTests
|
||||
AdvancedMetricCatalog.Find("nvapi.reflex.mode")!.Reach.Should().Be(AdvancedReach.RefusedRoute);
|
||||
AdvancedMetricCatalog.Find("sl.reflex.state")!.Reach.Should().Be(AdvancedReach.RefusedRoute);
|
||||
_all.Where(static m => m.Reach == AdvancedReach.RefusedRoute).Should().OnlyContain(static m => !m.IsRead);
|
||||
|
||||
// Advanced metrics is closed (D154): what a game sets and asks through Streamline's feature functions is not
|
||||
// read - seeing those calls would take handing the game a function of ours. Nothing is left "being studied".
|
||||
string[] closed =
|
||||
[
|
||||
"sl.dlss.optimal_settings", "sl.dlss.vram_estimate", "sl.dlssg.options", "sl.dlssg.state", "sl.dlssg.frames_presented",
|
||||
"sl.dlssg.vram_estimate", "sl.dlssd.options", "sl.nis.options", "sl.deepdvc.options", "sl.pcl.markers",
|
||||
];
|
||||
foreach (string id in closed)
|
||||
{
|
||||
AdvancedMetricCatalog.Find(id)!.Reach.Should().Be(AdvancedReach.RefusedRoute, id);
|
||||
}
|
||||
|
||||
_all.Where(static m => m.Reach == AdvancedReach.Spike).Should().BeEmpty("no route is waiting for a spike");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in new issue
Block a user