Skip to main content

plot

Function plot 

Source
pub fn plot(name: &'static str, value: f64)
Expand description

Record a plot point for Tracy’s value plots.

Stores the latest value for the named plot in a fixed-size thread-local slot. Repeated calls with the same name update the existing slot.

§Examples

use martensite_devtools::tracy;

tracy::plot("gpu_wait_ms", 0.42);
tracy::plot("gpu_wait_ms", 0.51);