[][src]Function ispc::set_instrument

pub fn set_instrument<F>(f: F) where
    F: FnOnce() -> Arc<dyn Instrument + 'static>, 

If you have implemented your own instrument for logging ISPC performance data you can use this function to provide it for use instead of the default one. This function must be called before calling into ISPC code, otherwise the instrumenter will already be set to the default.