public float GetSampleTimeMs (int sampleIndex);

Parameters

sampleIndexIndex of the Profiler sample.

Returns

float Returns sample duration in milliseconds.

Description

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