Function llama_time_us

Source
pub fn llama_time_us() -> i64
Expand description

get the time (in microseconds) according to llama.cpp

let backend = LlamaBackend::init().unwrap();
let time = llama_time_us();
assert!(time > 0);