diff --git a/ping.py b/ping.py index 3488bf7..ae8ac67 100755 --- a/ping.py +++ b/ping.py @@ -212,7 +212,7 @@ if sys.platform == "win32": # On Windows, the best timer is time.clock() - default_timer = time.clock + default_timer = time.perf_counter else: # On most other platforms the best timer is time.time() default_timer = time.time