[SIGAR-60] Add multi-core AMD Opteron detection
This commit is contained in:
parent
de3406cd22
commit
199eb74ac1
|
@ -99,6 +99,10 @@ static unsigned int HTSupported(void)
|
||||||
// Genuine Intel with hyper-Threading technology
|
// Genuine Intel with hyper-Threading technology
|
||||||
return Regedx & HT_BIT;
|
return Regedx & HT_BIT;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
// Assume AMD
|
||||||
|
return Regedx & HT_BIT;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0; // Not genuine Intel processor
|
return 0; // Not genuine Intel processor
|
||||||
|
|
Loading…
Reference in New Issue