Answers for "standard execution duration"

0

execution duration

use std::time::Instant;
let start = Instant:now();
f();
let duration = start.elapsed();
Posted by: Guest on April-05-2021

Browse Popular Code Answers by Language