mirror of
https://github.com/anrieff/libcpuid
synced 2025-02-02 20:14:07 +00:00
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
This commit is contained in:
parent
2fb7b0522b
commit
373fc03beb
1 changed files with 1 additions and 1 deletions
|
@ -195,6 +195,6 @@ int cpu_clock(void)
|
||||||
int result;
|
int result;
|
||||||
result = cpu_clock_by_os();
|
result = cpu_clock_by_os();
|
||||||
if (result <= 0)
|
if (result <= 0)
|
||||||
result = cpu_clock_measure(200, 0);
|
result = cpu_clock_measure(200, 1);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue