From dc910e403777781148bf1a2371456fad3afcc099 Mon Sep 17 00:00:00 2001 From: ddna Date: Wed, 10 Apr 2019 18:40:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E4=B8=BAperf=5Fcounter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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