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

Method _updateMemoryUsage

packages/core/src/Utils/Pool/Pool.ts:279–281  ·  view source on GitHub ↗

* 更新内存使用估算

()

Source from the content-addressed store, hash-verified

277 * 更新内存使用估算
278 */
279 private _updateMemoryUsage(): void {
280 this._stats.estimatedMemoryUsage = this._stats.size * this._objectSize;
281 }
282}

Callers 5

obtainMethod · 0.95
releaseMethod · 0.95
clearMethod · 0.95
compactMethod · 0.95
prewarmMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected