Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AdaptivePerformanceProfilerStats

Profiler Stats reporting helper class. Stores all adaptive performance markers and helper functions.
Read time 1 minuteLast updated 7 days ago

Definition

public static class AdaptivePerformanceProfilerStats

Static Fields

Value

Description

AdaptivePerformanceProfilerCategoryProfiler Category is set to scripts for Adaptive Performance.
AvgCPUMarkerProfiler counter to report cpu average frametime.
AvgFrametimeMarkerProfiler counter to report average frametime.
AvgGPUMarkerProfiler counter to report gpu average frametime.
BottleneckMarkerProfiler counter to report the bottleneck.
CpuUtilizationMarkerProfiler counter to report the CPU utilization (normalized 0-1).
CurrentCPULevelMarkerProfiler counter to report cpu performance level.
CurrentCPUMarkerProfiler counter to report cpu frametime.
CurrentFrametimeMarkerProfiler counter to report frametime.
CurrentGPULevelMarkerProfiler counter to report gpu performance level.
CurrentGPUMarkerProfiler counter to report gpu frametime.
GpuUtilizationMarkerProfiler counter to report the GPU utilization (normalized 0-1).
kAdaptivePerformanceProfilerModuleGuidGUID for the Adaptive Performance Profile Module definition.
kScalerDataTagThe Scaler data tag defines a tag for the scalers to send them via the emit frame data function.
PerformanceModeMarkerProfiler counter to report the performance mode.
TemperatureLevelMarkerProfiler counter to report the temperature level.
TemperatureTrendMarkerProfiler counter to report the temperature trend.
WarningLevelMarkerProfiler counter to report the thermal warning level.

Static Methods

Method

Description

EmitScalerDataToProfilerStreamAdaptive Performance sends scaler data to the profiler each frame. It is collected from multiple places with this method and flushed once with AdaptivePerformanceProfilerStats.FlushScalerDataToProfilerStream.
FlushScalerDataToProfilerStreamFlushes the Adaptive Performance scaler data for this frame. Used in conjunction with AdaptivePerformanceProfilerStats.EmitScalerDataToProfilerStream.

Structs

Struct

Description

AdaptivePerformanceProfilerStats.CustomProfilerMarker<T>Custom Profiler Marker that allows you to sample different data from Unity Profiler.
AdaptivePerformanceProfilerStats.ScalerInfoScalerInfo is a struct used to collect and send scaler info to the profile collectively.