ContinuousStatistics
public sealed record ContinuousStatistics : IEquatable<ContinuousStatistics>
What an always-on recording has done.
ContinuousStatistics: constructors
public ContinuousStatistics(ulong SegmentsWritten, ulong SegmentsPruned, ulong BytesPruned, ulong SegmentsAdopted, ulong BytesOnDisk, TimeSpan Depth, ulong FreeBytes, ulong RetentionShortened, ulong FramesWritten, ulong FramesWriteError, ulong FramesBytesWritten, bool IsRecording, PruneReason LastPruneReason, string LastError)
What an always-on recording has done.
SegmentsWritten: Segments closed and catalogued by this run.SegmentsPruned: Segments deleted by the pruner, including ones adopted from an earlier run.BytesPruned: Bytes those deletions reclaimed.SegmentsAdopted: Segments this run adopted from an earlier one when it opened. Reported rather than ignored: an application that did not expect them is an application whose disk budget is being spent by a run it has forgotten about.BytesOnDisk: What the catalogued segments occupy, the open one excluded. This is the number to show an operator.Depth: The span the history actually covers. The honest number: a history cut short by a full disk reports what it has, not what was asked for.FreeBytes: Free space on the volume at the last check.RetentionShortened: How many times the retention window could not be honoured. Counted per episode, not per segment.FramesWritten: Frames the history has encoded. Not the same number asThermalCamera.RecordingStatisticsreports: that one answers for a take, and both run at once when an operator records alongside the history.FramesWriteError: Frames the history lost to a write or encode failure.FramesBytesWritten: The size of the history's files as the muxer reports it. Counts every segment this history has written, including the ones retention has since deleted, so it only ever grows.IsRecording: Whether frames are still being written.LastPruneReason: Why the last prune happened.LastError: The most recent failure, or empty. A full disk, a deletion that was refused, a segment that could not be opened.
ContinuousStatistics: properties
public ulong BytesOnDisk { get; init; }
What the catalogued segments occupy, the open one excluded. This is the number to show an operator.
public ulong BytesPruned { get; init; }
Bytes those deletions reclaimed.
public TimeSpan Depth { get; init; }
The span the history actually covers. The honest number: a history cut short by a full disk reports what it has, not what was asked for.
public ulong FramesBytesWritten { get; init; }
The size of the history's files as the muxer reports it. Counts every segment this history has written, including the ones retention has since deleted, so it only ever grows.
public ulong FramesWriteError { get; init; }
Frames the history lost to a write or encode failure.
public ulong FramesWritten { get; init; }
Frames the history has encoded. Not the same number as ThermalCamera.RecordingStatistics reports: that one answers for a take, and both run at once when an operator records alongside the history.
public ulong FreeBytes { get; init; }
Free space on the volume at the last check.
public bool IsRecording { get; init; }
Whether frames are still being written.
public string LastError { get; init; }
The most recent failure, or empty. A full disk, a deletion that was refused, a segment that could not be opened.
public PruneReason LastPruneReason { get; init; }
Why the last prune happened.
public ulong RetentionShortened { get; init; }
How many times the retention window could not be honoured. Counted per episode, not per segment.
public ulong SegmentsAdopted { get; init; }
Segments this run adopted from an earlier one when it opened. Reported rather than ignored: an application that did not expect them is an application whose disk budget is being spent by a run it has forgotten about.
public ulong SegmentsPruned { get; init; }
Segments deleted by the pruner, including ones adopted from an earlier run.
public ulong SegmentsWritten { get; init; }
Segments closed and catalogued by this run.