()
| 1952 | |
| 1953 | #[no_mangle] |
| 1954 | pub 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] |
| 1964 | pub extern "C" fn bloom_profiler_overlay_text() -> *const u8 { |
nothing calls this directly
no test coverage detected