vibespatial.runtime.hotpath_trace

Classes

Functions

hotpath_trace_enabled(→ bool)

hotpath_nvtx_enabled(→ bool)

reset_hotpath_trace(→ None)

get_hotpath_trace(→ tuple[HotpathStageTrace, Ellipsis])

summarize_hotpath_trace(→ list[dict[str, Any]])

hotpath_stage(name, *[, category, metadata])

Module Contents

class vibespatial.runtime.hotpath_trace.HotpathStageTrace
name: str
category: str
elapsed_seconds: float
metadata: dict[str, Any]
vibespatial.runtime.hotpath_trace.hotpath_trace_enabled() bool
vibespatial.runtime.hotpath_trace.hotpath_nvtx_enabled() bool
vibespatial.runtime.hotpath_trace.reset_hotpath_trace() None
vibespatial.runtime.hotpath_trace.get_hotpath_trace() tuple[HotpathStageTrace, Ellipsis]
vibespatial.runtime.hotpath_trace.summarize_hotpath_trace() list[dict[str, Any]]
vibespatial.runtime.hotpath_trace.hotpath_stage(name: str, *, category: str = 'other', metadata: dict[str, Any] | None = None)