sylvan_sys/
stats.rs

1use libc::{c_void, FILE};
2
3extern "C" {
4    pub fn Sylvan_stats_init() -> c_void;
5    pub fn Sylvan_stats_reset() -> c_void;
6    // sylvan_stats_t is a gigantic struct with all performance counter data.
7    // At the moment I don't have time to port the whole thing to Rust, so if you need it,
8    // please do so yourself.
9    // TODO: pub fn Sylvan_stats_snapshot(target: *mut sylvan_stats_t) -> c_void;
10    pub fn Sylvan_stats_report(target: *mut FILE) -> c_void;
11}