Skip to content

ECS Framework API v2.1.50


ECS Framework API / IPerformanceEventData

Interface: IPerformanceEventData

Defined in: Types/index.ts:230

性能事件数据接口

Extends

Properties

timestamp

timestamp: number

Defined in: Types/index.ts:178

事件时间戳

Inherited from

IEventData.timestamp


source?

optional source: string

Defined in: Types/index.ts:180

事件来源

Inherited from

IEventData.source


eventId?

optional eventId: string

Defined in: Types/index.ts:182

事件ID

Inherited from

IEventData.eventId


operation

operation: string

Defined in: Types/index.ts:232

操作类型


executionTime

executionTime: number

Defined in: Types/index.ts:234

执行时间(毫秒)


memoryUsage?

optional memoryUsage: number

Defined in: Types/index.ts:236

内存使用量


metadata?

optional metadata: Record<string, unknown>

Defined in: Types/index.ts:238

额外数据

Released under the MIT License.