GetSampleTimeNs(int)
Gets the duration of sample. The amount of time is expressed in nanoseconds.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public ulong GetSampleTimeNs(int sampleIndex)
Parameters
Index of the Profiler sample.
Returns
Type | Description |
|---|---|
| ulong | Returns sample duration in nanoseconds. |