pub fn set_current_thread_name(name: &str)
Expand description

Set the name of the current thread

Examples found in repository?
examples/basic.rs (line 38)
35
36
37
38
39
40
41
fn main() {
    println!("Enabled: {}", superluminal_perf::enabled());

    superluminal_perf::set_current_thread_name("mythread");

    big_fn();
}