Esc

observer

moduleextensionexperimentalSource
  • macOS: Everything works on macOS
  • Linux: Everything works on Linux
  • Windows: Everything works on Windows
  • Wasm: Everything works on Wasm
ยทsince 0.36.1

#import "Extensions/Iprof_Trace/observer";

Internal bridge between Iprof and its optional timeline recorder.

Procedures#

emitexperimentalsince 0.36.1Source
(kind: u8, name: string, ticks: s64, seconds_per_tick: float64)

Sends a clock sample without changing Iprof's aggregate accounting.

Types#

Listenertypeexperimentalsince 0.36.1Source
:: #type (data: *void, kind: u8, name: string, ticks: s64, seconds_per_tick: float64)

Receives enter (0), exit (1), or frame (2), using Iprof's monotonic clock.