WorkDuration.ActualCpuDurationNanos Property

Definition

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

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

Property Value

Attributes

Remarks

Property getter documentation:

Returns the actual CPU duration in nanoseconds.

All timings should be in SystemClock#uptimeNanos().

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

Property setter documentation:

Sets the actual CPU duration in nanoseconds.

All timings should be in SystemClock#uptimeNanos().

Java documentation for android.os.WorkDuration.setActualCpuDurationNanos(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