changed HighResolutionClock implementation