let compiler inline time_elapsed