MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_profiler_frame_history

Function bloom_profiler_frame_history

native/linux/src/lib.rs:2717–2724  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2715
2716#[no_mangle]
2717pub extern "C" fn bloom_profiler_frame_history() -> *const u8 {
2718 let hist = engine().profiler.frame_history();
2719 let mut s = String::with_capacity(hist.len() * 24);
2720 for (cpu, gpu) in &hist {
2721 s.push_str(&format!("{:.2}|{:.2}\n", cpu, gpu));
2722 }
2723 alloc_perry_string(&s)
2724}
2725
2726#[no_mangle]
2727pub extern "C" fn bloom_profiler_overlay_text() -> *const u8 {

Callers

nothing calls this directly

Calls 3

frame_historyMethod · 0.80
engineFunction · 0.70
alloc_perry_stringFunction · 0.50

Tested by

no test coverage detected