Java.Lang.JavaSystem.NanoTime Method
Returns the current timestamp of the most precise timer available on the local system, in nanoseconds.

Syntax

[Android.Runtime.Register("nanoTime", "()J", "")]
public static long NanoTime ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the current timestamp of the most precise timer available on the local system, in nanoseconds. Equivalent to Linux's CLOCK_MONOTONIC.

This timestamp should only be used to measure a duration by comparing it against another timestamp on the same device. Values returned by this method do not have a defined correspondence to wall clock times; the zero value is typically whenever the device last booted. Use JavaSystem.CurrentTimeMillis if you want to know what time it is.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1