MCPcopy Create free account
hub / github.com/esengine/esengine / endSample

Method endSample

packages/core/src/Utils/Profiler/ProfilerSDK.ts:89–93  ·  view source on GitHub ↗

* 结束采样

(handle: SampleHandle | null)

Source from the content-addressed store, hash-verified

87 * 结束采样
88 */
89 public static endSample(handle: SampleHandle | null): void {
90 if (handle) {
91 ProfilerSDK.getInstance().endSample(handle);
92 }
93 }
94
95 /**
96 * 测量同步函数执行时间

Callers 10

measureMethod · 0.95
measureAsyncMethod · 0.95
wrapFunctionMethod · 0.80
_createWrappedMethodMethod · 0.80
ProfileFunction · 0.80
updateMethod · 0.80
_runSystemPhaseMethod · 0.80
flushCommandBuffersMethod · 0.80

Calls 7

_updateCallGraphMethod · 0.95
nowMethod · 0.80
hasMethod · 0.65
getMethod · 0.65
pushMethod · 0.65
deleteMethod · 0.65
getInstanceMethod · 0.45

Tested by

no test coverage detected