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

Method getAllStats

packages/core/src/Utils/Pool/PoolManager.ts:126–134  ·  view source on GitHub ↗

* 获取所有池的统计信息 * @returns 统计信息映射

()

Source from the content-addressed store, hash-verified

124 * @returns 统计信息映射
125 */
126 public getAllStats(): Map<string, PoolStats> {
127 const stats = new Map<string, PoolStats>();
128
129 for (const [name, pool] of this.pools) {
130 stats.set(name, pool.getStats());
131 }
132
133 return stats;
134 }
135
136 /**
137 * 获取总体统计信息

Callers 1

Calls 2

setMethod · 0.65
getStatsMethod · 0.65

Tested by

no test coverage detected