Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
measure
Method · 0.95
measureAsync
Method · 0.95
wrapFunction
Method · 0.80
_createWrappedMethod
Method · 0.80
Profile
Function · 0.80
update
Method · 0.80
_runSystemPhase
Method · 0.80
flushCommandBuffers
Method · 0.80
ProfilerSDK.test.ts
File · 0.80
AdvancedProfilerCollector.test.ts
File · 0.80
Calls
7
_updateCallGraph
Method · 0.95
now
Method · 0.80
has
Method · 0.65
get
Method · 0.65
push
Method · 0.65
delete
Method · 0.65
getInstance
Method · 0.45
Tested by
no test coverage detected