RenderCounters record Core

What the drawing of a grid's frames came to: its frames and the whole pictures among them by cause (this grid), and what the renderer did for them - the device pixels the compositor shifted, copied and put on the target, the GPU cell passes and what they drew (for the process, as the renderer counts them). Taken by GridTestDriver.Counters; the difference of two (RenderCounters.Since) is what a scripted phase cost.

public sealed record RenderCounters
Namespace
ArionUI.Grid.Testing
Package
ArionUI.Grid · dotnet add package ArionUI.Grid --prerelease

Constructors

RenderCounters

public RenderCounters(long Frames, long PresentOnlyFrames, IReadOnlyDictionary<string, long> WholeFrames, long ShiftedPixels, long TileCopiedPixels, long PresentedPixels, long ComposedPixels, long GpuPasses, long GpuCells, long SlowCells, long GpuTiles);

What the drawing of a grid's frames came to: its frames and the whole pictures among them by cause (this grid), and what the renderer did for them - the device pixels the compositor shifted, copied and put on the target, the GPU cell passes and what they drew (for the process, as the renderer counts them). Taken by GridTestDriver.Counters; the difference of two (RenderCounters.Since) is what a scripted phase cost.

Parameters

Frames

Frames this grid closed.

PresentOnlyFrames

Of them, frames that only put the kept picture on the target.

WholeFrames

Whole pictures by cause (the names of the renderer's reset causes).

ShiftedPixels

Device pixels of buffers shifted onto their twin (scrolling), process-wide.

TileCopiedPixels

Device pixels of tile pictures copied into their parent, process-wide.

PresentedPixels

Device pixels of window buffers put on the target, process-wide.

ComposedPixels

Device pixels of tile layers put on the target, process-wide.

GpuPasses

GPU cell passes drawn, process-wide.

GpuCells

Cells drawn by the GPU cell path, process-wide.

SlowCells

Cells the GPU cell path left to the old way, process-wide.

GpuTiles

Board tiles drawn while a GPU batch took the drawing, process-wide.

Properties

ComposedPixels

public long ComposedPixels { get; init; }

Device pixels of tile layers put on the target, process-wide.

Frames

public long Frames { get; init; }

Frames this grid closed.

GpuCells

public long GpuCells { get; init; }

Cells drawn by the GPU cell path, process-wide.

GpuPasses

public long GpuPasses { get; init; }

GPU cell passes drawn, process-wide.

GpuTiles

public long GpuTiles { get; init; }

Board tiles drawn while a GPU batch took the drawing, process-wide.

PresentedPixels

public long PresentedPixels { get; init; }

Device pixels of window buffers put on the target, process-wide.

PresentOnlyFrames

public long PresentOnlyFrames { get; init; }

Of them, frames that only put the kept picture on the target.

ShiftedPixels

public long ShiftedPixels { get; init; }

Device pixels of buffers shifted onto their twin (scrolling), process-wide.

SlowCells

public long SlowCells { get; init; }

Cells the GPU cell path left to the old way, process-wide.

TileCopiedPixels

public long TileCopiedPixels { get; init; }

Device pixels of tile pictures copied into their parent, process-wide.

Whole

public long Whole { get; }

Whole pictures of every cause.

WholeFrames

public IReadOnlyDictionary<string, long> WholeFrames { get; init; }

Whole pictures by cause (the names of the renderer's reset causes).

Methods

Since

public RenderCounters Since(RenderCounters earlier);

What happened after earlier.

ToLine

public string ToLine();

One line of key=value pairs: the totals, then every cause with whole pictures as whole.Cause=n.