namespace SQLInsight.Core.Data; /// /// A snapshot of cumulative counters and, from the second collection on, the change since the previous snapshot. /// Counters reset when SQL Server restarts (or are cleared manually); the delta is then /// for one collection instead of producing negative or meaningless numbers. /// public sealed record CumulativeSample(TSnapshot Snapshot, TDelta? Delta) where TSnapshot : class where TDelta : class;