public ulong GetSampleTimeNs (int sampleIndex);

Parameters

sampleIndexIndex of the Profiler sample.

Returns

ulong Returns sample duration in nanoseconds.

Description

Gets the duration of sample. The amount of time is expressed in nanoseconds.