From 199eb74ac1219b2467475325681fd410bc12f185 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 28 Jun 2007 23:54:06 +0000 Subject: [PATCH] [SIGAR-60] Add multi-core AMD Opteron detection --- src/os/win32/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/os/win32/cpu.c b/src/os/win32/cpu.c index 896bf26d..eb387461 100644 --- a/src/os/win32/cpu.c +++ b/src/os/win32/cpu.c @@ -99,6 +99,10 @@ static unsigned int HTSupported(void) // Genuine Intel with hyper-Threading technology return Regedx & HT_BIT; } + else { + // Assume AMD + return Regedx & HT_BIT; + } } return 0; // Not genuine Intel processor