From 373fc03bebe422dc73f2558c25a677181ff75d56 Mon Sep 17 00:00:00 2001 From: Veselin Georgiev Date: Fri, 21 Nov 2008 19:07:55 +0000 Subject: [PATCH] Fixed a forgotten debugging option in cpu_clock() git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@31 3b4be424-7ac5-41d7-8526-f4ddcb85d872 --- libcpuid/rdtsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpuid/rdtsc.c b/libcpuid/rdtsc.c index 651c32f..6f0bd0e 100644 --- a/libcpuid/rdtsc.c +++ b/libcpuid/rdtsc.c @@ -195,6 +195,6 @@ int cpu_clock(void) int result; result = cpu_clock_by_os(); if (result <= 0) - result = cpu_clock_measure(200, 0); + result = cpu_clock_measure(200, 1); return result; }