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

Function bloom_profiler_frame_history

native/android/src/lib.rs:1954–1961  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1952
1953#[no_mangle]
1954pub extern "C" fn bloom_profiler_frame_history() -> *const u8 {
1955 let hist = engine().profiler.frame_history();
1956 let mut s = String::with_capacity(hist.len() * 24);
1957 for (cpu, gpu) in &hist {
1958 s.push_str(&format!("{:.2}|{:.2}\n", cpu, gpu));
1959 }
1960 alloc_perry_string(&s)
1961}
1962
1963#[no_mangle]
1964pub 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