Added convert function to get real dispatch latency

Warning: This project is only quick&dirty, not really Rust idiomatic!