use high resolution clock