pub fn get_time_exec<F>(func: F)where
    F: Fn(),
Expand description

Get the time when the function was called Calculate the time when the functions is done And print the total time to execute