Skip to main content

frame_mark

Function frame_mark 

Source
pub fn frame_mark()
Expand description

Emit a frame marker for Tracy’s frame profiling.

Increments the per-thread frame counter. Pair this with one call per rendered frame so frame boundaries can be correlated with span timings.

§Examples

use martensite_devtools::tracy;

tracy::frame_mark();