FrameMetrics.TotalDuration Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.FrameMetricsId enum directly instead of this field.

Metric identifier for total frame duration.

[Android.Runtime.Register("TOTAL_DURATION", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.FrameMetricsId enum directly instead of this field.", true)]
public const Android.Views.FrameMetricsId TotalDuration = 8;
[<Android.Runtime.Register("TOTAL_DURATION", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.FrameMetricsId enum directly instead of this field.", true)>]
val mutable TotalDuration : Android.Views.FrameMetricsId

Field Value

Value = 8
Attributes

Remarks

Metric identifier for total frame duration.

Represents the total time in nanoseconds this frame took to render and be issued to the display subsystem.

The total duration is the difference in time between when the frame began and when it ended. This value may not be exactly equal to the sum of the values of all other time-valued metric identifiers because some stages may happen concurrently.

Java documentation for android.view.FrameMetrics.TOTAL_DURATION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to