Files
frameledger/src/FrameLedger.Application/Advanced/AdvancedInGameStatus.cs
T
poli0981andClaude Fable 5.2 9c55dc1179 feat(advanced): a session that records Advanced metrics asks the Overlay for what the game tells DLSS and FSR and stores it - thirteen catalog entries read inside the game, two series, the session's in-game state; Privacy Policy 2.16; a crash dump tried three times (Advanced B PR-4, D111/D114) (#398)
ICaptureObserver.WantsInGameAdvanced: CaptureSession writes the control word either way as the ring is attached,
before its first guard result, and carries each publication of region 5 on CaptureProgress.InGameAdvanced as one
instance. A session that did not ask never reads the region.

Application.Capture.InGameAdvancedSampler turns a publication into session facts (reach Game: the DLSS output
size, presets, HDR input, auto-exposure, alpha upscaling, exposure; FSR's sharpening, largest jitter, exposure,
depth range, the RANGE of the field of view, flags) in the vendor's own words, and into two series
(adv.ffx.upscale.frame_time_delta, adv.ffx.memory_usage). Zero is "not read", never a value. No schema change:
facts_json, sensor_blobs and the .partial carry them. AdvancedSources.InGame says what became of them - read,
nothing seen, not hooked - and is absent in every row beta.39 wrote.

The App: the session's sources line and the Sources tab say it; fourteen strings and the Settings text in en, vi,
ja. Privacy Policy 2.16 (content approved with the plan), the accuracy statement, the guide, LIMITATIONS.

Also: SonarCloud's three findings on #397 (cpp:S6232 in the watchdog's QPC read, two cpp:S2259 in the new fl_guard
cases); ParentDump.WriteDump tries MiniDumpWriteDump up to three times - a running process changes under it
(ERROR_PARTIAL_COPY), which failed CrashDumpHelperTests under the gate's load for the third time in two days.

Verified end to end with the shipped Agent, the real Overlay and the harness: two sessions of one target, the
first (option off) storing no row and no adv. series, the second the exact values the target sends.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 18:53:18 +00:00

28 lines
1.2 KiB
C#

// SPDX-License-Identifier: GPL-3.0-only
// Copyright (C) 2026 poli0981 - additional terms under GPLv3 section 7: see NOTICE
namespace FrameLedger.Application.Advanced;
/// <summary>
/// What became of the entries read inside the game (<see cref="AdvancedReach.Game"/>) in one session — the third
/// answer beside a value and "not read": why there is none (Advanced metrics train B, owner decision D111).
/// </summary>
public enum AdvancedInGameStatus
{
/// <summary>Not stated: a row stored before 0.1.0-beta.40, or a state nobody set.</summary>
Unknown = 0,
/// <summary>The game made at least one of the calls these entries are read from, and what it passed was read.</summary>
Reading = 1,
/// <summary>
/// The session was measured inside the game and the game made none of those calls where they can be seen — it
/// uses neither upscaler through the interfaces FrameLedger intercepts, or it sets its options through a call
/// that cannot be intercepted (<c>slDLSSSetOptions</c>). Not "the game uses none of it".
/// </summary>
NothingSeen = 2,
/// <summary>The session was not measured inside the game (Tier 2): there was no call to read.</summary>
NotHooked = 3,
}