Class SystemMetricsMali
System Metrics Mali class provides access to all Profiler Counters related to the device performance. You can use exposed Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to create relevant Unity.Profiling.ProfilerRecorder to access collected performance data.
Namespace: Unity.Profiling.SystemMetrics
Assembly: Unity.Profiling.SystemMetrics.Mali.dll
Syntax
public class SystemMetricsMali
Properties
Active
Returns true if System Metrics Mali was initialized successfully, false otherwise. This means that System Metrics Mali runs on a device that supports hardware counters.
Declaration
public bool Active { get; }
Property Value
Type | Description |
---|---|
bool | True when System Metrics Mali is available, false otherwise. |
GpuCacheReadLookups
Returns Cache Read Lookups
performance counter handler
Declaration
public ProfilerRecorderHandle GpuCacheReadLookups { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuCacheWriteLookups
Returns Cache Write Lookups
performance counter handler
Declaration
public ProfilerRecorderHandle GpuCacheWriteLookups { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuClippedPrimitives
Returns Clipped Primitives
performance counter handler
Declaration
public ProfilerRecorderHandle GpuClippedPrimitives { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuClippedPrimitivesPercentage
Returns % Clipped Primitives
performance counter handler
Declaration
public ProfilerRecorderHandle GpuClippedPrimitivesPercentage { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuCulledPrimitives
Returns Culled Primitives
performance counter handler
Declaration
public ProfilerRecorderHandle GpuCulledPrimitives { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuCulledPrimitivesPercentage
Returns % Culled Primitives
performance counter handler
Declaration
public ProfilerRecorderHandle GpuCulledPrimitivesPercentage { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuCycles
Returns GPU Active Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuDivergedInstructions
Returns Diverged Instructions
performance counter handler
Declaration
public ProfilerRecorderHandle GpuDivergedInstructions { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuEarlyZKills
Returns Early ZS Kills
performance counter handler
Declaration
public ProfilerRecorderHandle GpuEarlyZKills { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuEarlyZTests
Returns Early ZS Tests
performance counter handler
Declaration
public ProfilerRecorderHandle GpuEarlyZTests { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuFragmentCycles
Returns Fragment Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuFragmentCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuFragmentJobs
Returns Fragment Jobs
performance counter handler
Declaration
public ProfilerRecorderHandle GpuFragmentJobs { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuFragmentUtilization
Returns Fragment Utilization
performance counter handler
Declaration
public ProfilerRecorderHandle GpuFragmentUtilization { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuInputPrimitives
Returns Input Primitives
performance counter handler
Declaration
public ProfilerRecorderHandle GpuInputPrimitives { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuInstructions
Returns Instructions
performance counter handler
Declaration
public ProfilerRecorderHandle GpuInstructions { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuLateZKills
Returns Late ZS Kills
performance counter handler
Declaration
public ProfilerRecorderHandle GpuLateZKills { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuLateZTests
Returns Late ZS Tests
performance counter handler
Declaration
public ProfilerRecorderHandle GpuLateZTests { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuMemoryReadAccesses
Returns Memory Read Accesses
performance counter handler
Declaration
public ProfilerRecorderHandle GpuMemoryReadAccesses { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuMemoryReadBytes
Returns Memory Read Bytes
performance counter handler
Declaration
public ProfilerRecorderHandle GpuMemoryReadBytes { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuMemoryReadStallRate
Returns % Memory Read Stalled
performance counter handler
Declaration
public ProfilerRecorderHandle GpuMemoryReadStallRate { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuMemoryReadStalledCycles
Returns Memory Read Stalled Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuMemoryReadStalledCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuMemoryWriteAccesses
Returns Memory Write Accesses
performance counter handler
Declaration
public ProfilerRecorderHandle GpuMemoryWriteAccesses { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuMemoryWriteBytes
Returns Memory Write Bytes
performance counter handler
Declaration
public ProfilerRecorderHandle GpuMemoryWriteBytes { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuMemoryWriteStallRate
Returns % Memory Write Stalled
performance counter handler
Declaration
public ProfilerRecorderHandle GpuMemoryWriteStallRate { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuMemoryWriteStalledCycles
Returns Memory Write Stalled Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuMemoryWriteStalledCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuPixels
Returns Pixels
performance counter handler
Declaration
public ProfilerRecorderHandle GpuPixels { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderArithmeticCycles
Returns Shader Arithmetic Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderArithmeticCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderArithmeticUtilization
Returns Shader Arithmetic Utilization
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderArithmeticUtilization { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderComputeCycles
Returns Shader Fragment Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderComputeCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderComputeUtilization
Returns Shader Fragment Utilization
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderComputeUtilization { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderCoreCycles
Returns Shader Core Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderCoreCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderCoreUtilization
Returns Shader Core Utilization
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderCoreUtilization { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderFragmentCycles
Returns Shader Vertex And Compute Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderFragmentCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderFragmentUtilization
Returns Shader Vertex And Compute Utilization
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderFragmentUtilization { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderLoadStoreCycles
Returns Shader Load/Store Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderLoadStoreCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderLoadStoreUtilization
Returns Shader Load/Store Utilization
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderLoadStoreUtilization { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderTextureCycles
Returns Shader Texture Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderTextureCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuShaderTextureUtilization
Returns Shader Texture Unit Utilization
performance counter handler
Declaration
public ProfilerRecorderHandle GpuShaderTextureUtilization { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuTiles
Returns Tiles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuTiles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuUnchangedEliminatedTiles
Returns Unchanged Eliminated Tiles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuUnchangedEliminatedTiles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuVertexAndComputeCycles
Returns Vertex And Compute Cycles
performance counter handler
Declaration
public ProfilerRecorderHandle GpuVertexAndComputeCycles { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuVertexAndComputeUtilization
Returns Vertex And Compute Utilization
performance counter handler
Declaration
public ProfilerRecorderHandle GpuVertexAndComputeUtilization { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuVertexComputeJobs
Returns Vertex And Compute Jobs
performance counter handler
Declaration
public ProfilerRecorderHandle GpuVertexComputeJobs { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuVisiblePrimitives
Returns Visible Primitives
performance counter handler
Declaration
public ProfilerRecorderHandle GpuVisiblePrimitives { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
GpuVisiblePrimitivesPercentage
Returns % Visible Primitives
performance counter handler
Declaration
public ProfilerRecorderHandle GpuVisiblePrimitivesPercentage { get; }
Property Value
Type | Description |
---|---|
ProfilerRecorderHandle | Use Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle to access counter data with Unity.Profiling.ProfilerRecorder. |
Instance
Global SystemMetricsMali class instance to access hardware counters.
Declaration
public static SystemMetricsMali Instance { get; }
Property Value
Type | Description |
---|---|
SystemMetricsMali |