Skip to content

Home > @esengine/ecs-framework-monorepo > PerformanceMonitor > endMonitoring

PerformanceMonitor.endMonitoring() method

结束监控并记录性能数据

Signature:

typescript
endMonitoring(systemName: string, startTime: number, entityCount?: number): void;

Parameters

Parameter

Type

Description

systemName

string

系统名称

startTime

number

开始时间戳

entityCount

number

(Optional) 处理的实体数量

Returns:

void

基于 MIT 许可证发布