feat/input-reader
5
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
5608c71d59 |
fix(app): the hardware-change markers on a game's charts - a numbered badge per changed day in a band above the chart, the list under it, a tooltip (D70) (beta.30 PR-2) (#339)
The owner's screenshot (2026-10-26): "Driver GPU: 32.0.16.1742 -> 32.0.16.2101" with its top cut off at the chart's edge.
ScottPlot's VerticalLine label grows up from the data area into the top-axis panel, which an unused axis measures at
15 px; a day's further lines were lost; white on the orange read 1.78:1 / 2.63:1. Owner decision D70: numbers + a list.
- TrendSeriesBuilder.Markers (replaces MergedByDay): one ChangeMarker per changed day, numbered oldest first, each
change once; the view model hands the same list to both charts and both lists.
- ChangeMarkerPlottable (IPlottable + IRenderLast): the dashed lines clipped to the data area; the badges after the
axes in a band kept with Axes.Top.MinimumSize, joined to their lines, coloured from ChartTheme.Current at every render
with ChartTheme.TextOn's black or white (black on both oranges, 11.79:1 / 8.00:1).
- ChangeBadgeLayout: inside the data width, never over another; too close -> aside in order; beyond ~one badge from
their lines or no room -> one badge for the run ("3-5").
- ChangeMarkerList + Controls/ChangeBadge under both charts; Formats.Day; Trend_Changes_Header and
Trend_Change_Heading_Format in en/vi/ja (ja drafts marked review).
- TrendChart: tooltip near a line or over a badge; the pointer read through the element's DPI now
(GetPlotPixelPosition) - DisplayScale is read once, before the control has a window - for the overview's click too.
- ChartPalette.ForBackground shared by FgMixBar and ChangeBadge.
- Tests: ChangeBadgeLayoutTests (cases + a 20-2000 px sweep), PagesLoadTests.Changes (real renders at 640x320, 640x220,
tight limits, 300x220, thirty days in a row; the tooltip's hit test), ChartMathTests (the badge text in both
palettes), TrendSeriesBuilderTests, GameDetailViewModelTests; the shared page fixture has a driver change so the
readable and theme-switch sweeps measure the list and its chip.
- Docs: 08_UI (Trend, the numbered markers, Contrast, DPI, Known gaps), 16_WPFUI_SYNTAX (Theming, Custom controls,
ScottPlot, two Gotchas), 02_SPEC FR-6.3, guide 03 and 07, CHANGELOG.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
4130b7cbe4 |
feat(app): the new measurements as summary cards, a render scale chart, a clocks and fan chart, trend metrics and compare rows labelled (presented) (beta.14 PR-8, D49) (#271)
The App's half of D49 (PR-7 recorded the values). Every value is read from the stored row, never recomputed, and reads
N/A on a session recorded before beta.14.
Summary (SessionSummaryViewModel, the cards in AddFrameCards / AddPacingCards / AddMachineCards):
- Time below 60 FPS, with below 30 and "display under {refresh} Hz" beneath - the refresh share named for the display, as
it is over the presents the display received - and Frame to frame; both carry (presented) where the lows do.
- VSync (share of frames, tearing allowed beneath), Ray tracing (share of frames, rays per pixel; only where measured),
Game in focus (foreground over drain ticks), Capture quality (gaps, lost records, faults).
- The 1% Low card carries "displayed: N" where frames were generated - rule 6, beside the game's own, never instead.
- GPU clocks (core, memory; fan and memory temperature beneath), GPU held back (power, heat; NVIDIA only), Frames per watt.
Charts:
- RenderScaleChart over RenderScaleSeries: 100 x sqrt(render / output pixels) as steps, from the render_res blob where the
resolution varied, a flat line at the row's extent where it did not, a sentence where never measured.
- SensorsChart: the memory temperature on the temperatures plot, in a new palette colour (Chart_SensorTertiary: no
existing colour was 60 apart from all six beside it - ChartMathTests caught Chart_Histogram == Chart_Native), and a
Clocks and fan plot - core and memory MHz, fan RPM on the right, the ticks a limit held the card back shaded
(LimitRuns); collapsed when the session stored none of them.
Trend: nine metrics (time below 60 / refresh, frame to frame, render scale = 100 / upscale_ratio, VSync share, frames per
watt from hooked sessions; core clock, memory temperature, power-limit share from every session), with ms, MHz and FPS/W
axes. Compare: nine rows; the median, lows, stutter, time below 60 and frame to frame carry (presented) in the cell of a
present-only session, the best decided on the number, never the label. The Latency tab is shown only for a game with a
session that measured latency (nothing measures Reflex today). Formats.Share, Milliseconds, FramesPerJoule.
Tests: SessionSummaryViewModelTests (every new card with values, a pre-beta.14 row at N/A, the displayed low),
RenderScaleAndClocksTests (scale arithmetic, steps, flat line, limit runs, both charts drawn on the STA thread),
TrendSeriesBuilderTests, CompareViewModelTests (labels and bests), FormatsTests, GameDetailViewModelTests (Latency tab),
ChartMathTests (the clocks plot's colours too).
Docs: 08_UI (summary, trend, compare, latency), 03_METRICS (render scale over time), legal/ACCURACY.md (one bullet, mirrored
into README and DISCLAIMER by accuracy-check; Disclaimer version unchanged as in beta.13), guide/03-read-your-results,
LIMITATIONS, CHANGELOG. Strings en/vi, ja marked for review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
cc847c588e |
feat(app): the game's own memory wherever a session is shown - two summary cards, a stored statistics table, Sessions columns, Trend and Compare metrics, two memory charts, the live card, the CSV line (D43, beta.12 PR-3) (#255)
- Formats.Memory: Task Manager's units (MB below 1 GB, GB to two decimals, 1 GB = 1024 MB, null is N/A, never 0). - Services.GameMemoryText: the summary's VRAM (this game) and RAM (this game) cards - the median with the peak and the shared / commit peak beneath - the Sessions grid's median · peak cells and tooltips, the live line, the CSV `# game_memory:` header line; all from the stored columns and sensor_stats_json. Where Windows reported no private working set the working set is shown and says so; an unpinned hold that summed several processes says how many. - Services.SensorStatsTable + the summary's "Statistics per series": every stored series' mean / median / minimum / peak / readings in its own unit; a session recorded before beta.12 gets one sentence instead. - SensorsChart: two memory plots in GB - Video memory (this game's dedicated and shared, the whole graphics card's) and Memory (this game's private working set or labelled working set, the whole PC's). The line that read the never-produced per-present vram_proc blob is gone. - Trend: MaxVramProcess (vram_proc_max_mb, never written, so never a point) becomes Median / Peak VRAM (game) and Median / Peak RAM (game) in GB, machine metrics over both tiers; Avg RAM in use is labelled as the whole PC's, in GB. Compare gains the four rows, ranking nothing. - Live card: MemoryText from SessionProgress / SessionHeld (the old VramText read a field nothing produced). - Strings: 41 new keys, 4 relabelled, 5 dead ones removed, en/vi/ja (ja marked review); 09_I18N glossary rows. - Tests: GameMemoryTextTests (new), summary, trend, compare, chart, live card, dashboard, export; GamesViewModelTests joins the culture collection (it compared resource text across a parallel culture flip and failed once). - Docs: 08_UI (corrected in place, new beta.12 paragraph), 03_METRICS export schema, CHANGELOG. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ff949afc6f |
feat(legal): NOTICE with the GPLv3 section 7 additional terms, the licence header in every source file, and the documents for people who build, contribute or redistribute (D45, beta.12 PR-1) (#253)
- 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> |
||
|
|
9e7eed6351 |
fix: a frame-generation session's lows are over application frames, a pause is a gap and not time, and the charts draw what they say (#234)
Owner request 2026-09-25 (beta.8, item 8: fix the charts that are not reasonable). Measured first on the owner's Onimusha demo capture (DLSS FG x3, read from a copy of the ledger): generated frames are submitted half a millisecond after their application frame, so the stored median over presents read 2,073 FPS on a 60 FPS game, and the chart's "native" line was each frame's interval to the generated one before it. - Domain: FrameTimeSeries.ApplicationFrames (application frame to application frame; a gap or an uncounted present breaks the chain); MeasuredSeconds - D leaves out every interval a gap sat in, so AverageFps is the kept intervals over the seconds they span; RecordWindow.SecondsOf and FgWindow.From take the gap set. - Application: SessionAggregator takes median / lows / min / max / sigma / stutter over application frames where generated frames were counted (segments too), the Displayed 1% low over presents, and no frame statistic when a technology was named and no application frame counted. CaptureSession marks a gap before the first record stamped at or after the resume's QPC (test red before the fix). SessionFinalizer writes frame_blobs.first_present_ms (schema 0013). - App: SessionSeriesLoader charts the dominant swapchain, application-frame intervals, every present when all were generated (noted), sensors on the frames' axis when the blob says where the first present is, Tier-2 sensors alone. FrametimeChart: labels (Application frames / Presents), no 0 ms frames after gaps, a note on present timing and closed-up gaps, segment labels, the overlay only when aligned. DistributionChart: histogram over p0.5-p99.5 with centred bars and an outside count; PercentileCurve drawn where ten frames lie beyond each side (FR-4.8 generalised) with the 1% / 0.1% lows marked. SensorsChart: watt axis, "Memory", VRAM 0 left out, distinct colours in both themes (light Percentile was SensorSecondary's gold), both tiers; the summary window gets a Sensors section. The game page reloads when one of its sessions completes. - The live 5 s window reads the survivors' rate over a drop, not the survivors spread over the lost time. - Docs: 03_METRICS, 04_CAPTURE, 06_DATA_MODEL, 08_UI, HANDOFF traps, CHANGELOG. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |