Version: 2022.1
public ulong GetSampleTimeNs (int sampleIndex);

参数

sampleIndex Index of the Profiler sample.

返回

ulong Returns sample duration in nanoseconds.

描述

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