ZenFG TypeScript API / webgpu / root / FrameGraphGpuTimingReport
Type Alias: FrameGraphGpuTimingReport
FrameGraphGpuTimingReport = {
frameDurationMicros:number;frameIndex:number;nodes: readonlyobject[];status:"available"; } | {frameIndex:number;reason:"unsupported"|"busy"|"readback-failed"|"no-timed-nodes"|"too-many-timed-nodes";status:"unavailable"; }
Defined in: packages/webgpu/src/types.ts:1137
GPU timing result returned by executeWithTiming.
Union Members
Type Literal
{ frameDurationMicros: number; frameIndex: number; nodes: readonly object[]; status: "available"; }
frameDurationMicros
readonlyframeDurationMicros:number
Span from the first retained render/compute pass start to the last end.
frameIndex
readonlyframeIndex:number
nodes
readonlynodes: readonlyobject[]
status
readonlystatus:"available"
Type Literal
{ frameIndex: number; reason: "unsupported" | "busy" | "readback-failed" | "no-timed-nodes" | "too-many-timed-nodes"; status: "unavailable"; }
frameIndex
readonlyframeIndex:number
reason
readonlyreason:"unsupported"|"busy"|"readback-failed"|"no-timed-nodes"|"too-many-timed-nodes"
Why timing is unavailable. too-many-timed-nodes means more than 2048 timed nodes; execution still proceeds.
status
readonlystatus:"unavailable"