Condividi tramite


WorkDuration.ActualGpuDurationNanos Property

Definition

Returns the actual GPU duration in nanoseconds. -or- Sets the actual GPU duration in nanoseconds.

public long ActualGpuDurationNanos { [Android.Runtime.Register("getActualGpuDurationNanos", "()J", "", ApiSince=35)] get; [Android.Runtime.Register("setActualGpuDurationNanos", "(J)V", "", ApiSince=35)] set; }
[<get: Android.Runtime.Register("getActualGpuDurationNanos", "()J", "", ApiSince=35)>]
[<set: Android.Runtime.Register("setActualGpuDurationNanos", "(J)V", "", ApiSince=35)>]
member this.ActualGpuDurationNanos : int64 with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the actual GPU duration in nanoseconds.

All timings should be in SystemClock#uptimeNanos().

Java documentation for android.os.WorkDuration.getActualGpuDurationNanos().

Property setter documentation:

Sets the actual GPU duration in nanoseconds.

All timings should be in SystemClock#uptimeNanos().

Java documentation for android.os.WorkDuration.setActualGpuDurationNanos(long).

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