[SIGAR-60] Add multi-core AMD Opteron detection
This commit is contained in:
1 parent
de3406cd22
commit
199eb74ac1
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user