s&box docs
API ReferenceSandbox.Diagnostics

public static abstract sealed class Sandbox.Diagnostics.PerformanceStats

Properties

Showing 11 properties

public static ulong Sandbox.Diagnostics.PerformanceStats.ApproximateProcessMemoryUsage { get; set; }

Approximate working set of this process.

public static long Sandbox.Diagnostics.PerformanceStats.BytesAllocated { get; set; }

The number of bytes that were allocated on the managed heap in the last frame. This may not include allocations from threads other than the game thread.

public static int Sandbox.Diagnostics.PerformanceStats.Exceptions { get; set; }

Number of exceptions in the last frame.

public static double Sandbox.Diagnostics.PerformanceStats.FrameTime { get; set; }

Get the time taken, in seconds, that were required to process the previous frame.

public static long Sandbox.Diagnostics.PerformanceStats.GcPause { get; set; }

How many ticks we paused in the last frame

public static int Sandbox.Diagnostics.PerformanceStats.Gen0Collections { get; set; }

Number of generation 0 (fastest) garbage collections were done in the last frame.

public static int Sandbox.Diagnostics.PerformanceStats.Gen1Collections { get; set; }

Number of generation 1 (fast) garbage collections were done in the last frame.

public static int Sandbox.Diagnostics.PerformanceStats.Gen2Collections { get; set; }

Number of generation 2 (slow) garbage collections were done in the last frame.

public static uint Sandbox.Diagnostics.PerformanceStats.GpuFrameNumber { get; set; }

Frame number of the last reported `Sandbox.Diagnostics.PerformanceStats.GpuFrametime`.

public static float Sandbox.Diagnostics.PerformanceStats.GpuFrametime { get; set; }

Latest available GPU frametime, in ms.

public static Sandbox.Diagnostics.PerformanceStats.Block Sandbox.Diagnostics.PerformanceStats.LastSecond { get; set; }

Performance statistics over the last period, which is dictated by "perf_time" console command.

Metadata

FieldValue
NamespaceSandbox.Diagnostics
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Diagnostics.PerformanceStats

On this page