Function enabled
Source pub const fn enabled() -> bool
Expand description
Check if the API is enabled
35fn main() {
36 println!("Enabled: {}", superluminal_perf::enabled());
37
38 superluminal_perf::set_current_thread_name("mythread");
39
40 big_fn();
41}