[SIGAR-60] Add multi-core AMD Opteron detection

This commit is contained in:
Doug MacEachern 2007-06-28 23:54:06 +00:00
parent de3406cd22
commit 199eb74ac1
1 changed files with 4 additions and 0 deletions

View File

@ -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