- NOTICE: copyright, GPL-3.0-only, and three additional terms of the kinds section 7 permits - (b) preserve the
notices and the attribution in the program's legal notices, (c) mark a modified version as different and do not
call it "FrameLedger" alone, (e) no trademark rights in the name. Shipped as licenses\NOTICE.txt; release.yml
refuses a published tree without it.
- Section 7 wants additional terms named in the source files: every first-party .cs .cpp .h .inl .ps1 .xaml file
(1,053; src/native/third_party excluded) opens with the SPDX line and a pointer to NOTICE. tools/notice-check.ps1
is the gate (six self-test cases, both directions; -Fix writes a missing header) and tools/resx-gen.ps1 generates
the string accessors with the header.
- The native VERSIONINFO LegalCopyright said GPL-3.0-or-later; it now names the real licence.
- CONTRIBUTING.md, FORKING.md, CODE_OF_CONDUCT.md (Contributor Covenant 2.1 by reference), legal/TRADEMARKS.md.
- 12_BUILD gate list, CLAUDE.md layout and conventions.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
IGpuTelemetrySource had one adapter; it now has the ladder 18_GPU_VENDOR_APIS
§Abstraction describes.
BaselineTelemetrySource (L1) reads the adapter's identity from DXGI once --
name, LUID, ids, memory sizes, the user-mode driver version via
CheckInterfaceSupport(IDXGIDevice) -- as GpuAdapterIdentity, selects the
first hardware adapter until the Overlay's handshake LUID names another, and
carries one live field: adapter-wide dedicated memory in use from the PDH
"GPU Adapter Memory ... Dedicated Usage" counter bound by LUID, never a
wildcard summed. Measured on the way: IDXGIAdapter3::QueryVideoMemoryInfo,
which the doc listed as L1's adapter-wide usage, reports the CALLING
PROCESS's usage -- 0 bytes from the Agent beside a 16 GB adapter -- which is
exactly why the Overlay reads it in-process; the doc is corrected. The
engine-utilisation counters are deliberately not read (§M10 decided: LoadPct
is L2's vendor-reported load, labelled). DxgiAdapters and
PdhAdapterMemoryCounter are the tree's first CsWin32 consumers (marshaling
off: raw vtables, no apartment).
CompositeTelemetrySource merges L3 > L2 > L1 per field, records which layer
supplied each (LayerOf), applies the two-fault rule one level up to a layer
whose TryRead throws, and produces the l1+lhm+nvapi descriptor from the
layers still standing; the port gained IsDisabled so "nothing yet" and
"never again" stop reading alike. TelemetryPoller is the fl-telemetry
thread: one read per interval (>= 500 ms), stamped with QPC
(TelemetrySample), queued for the session loop, oldest dropped and counted
when nobody drains. QpcClock names the counter the ring is in and
QpcClockTests pins Stopwatch / TimeProvider.GetTimestamp to it.
Measured on the dev box (RTX 5080): identity 32.0.16.1664, 1301 MB dedicated
in use at an idle desktop, moving tick to tick. §M7 and §M8 closed by the
code taking the shape they asked for; §M10 decided. Hook-path overhead: none
(managed only, nothing in the game). 18_GPU_VENDOR_APIS §Abstraction/§L1/
matrix and CLAUDE.md corrected in place.
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>