From 88780cb49520ca9f5a43f3ddc5289164934fe3e8 Mon Sep 17 00:00:00 2001 From: Learath Date: Wed, 17 Jun 2020 20:56:29 +0300 Subject: [PATCH] Consider time_freq() --- src/twping/twping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twping/twping.cpp b/src/twping/twping.cpp index 2100bd845..2964d66f5 100644 --- a/src/twping/twping.cpp +++ b/src/twping/twping.cpp @@ -65,7 +65,7 @@ int main(int argc, char **argv) // ignore_convention continue; int64 endTime = time_get(); - printf("%g ms\n", (double)(endTime - startTime) / 1000); + printf("%g ms\n", (double)(endTime - startTime) / time_freq() * 1000); } } }