Use chrono high resolution clock instead of clock()