Skip to main content

plot_value

Function plot_value 

Source
pub fn plot_value(name: &'static str) -> Option<f64>
Expand description

Return the last recorded value for the named plot on the current thread, if any.

ยงExamples

use martensite_devtools::tracy;

tracy::plot("fps", 59.9);
assert_eq!(tracy::plot_value("fps"), Some(59.9));