cpucycles-sys 0.1.2

FFI bindings to libcpucycles
Documentation
#![allow(non_upper_case_globals, clippy::redundant_static_lifetimes)]

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn cpucycles_test() {
        let start = unsafe { cpucycles.unwrap()() };
        let end = unsafe { cpucycles.unwrap()() };
        assert!(end >= start);
    }
}