more cpu model name fixups
This commit is contained in:
parent
060bf3b805
commit
5934d4bfc4
|
@ -296,6 +296,8 @@ static const cpu_model_str_t cpu_models[] = {
|
|||
CPU_MODEL_ENT("Opteron"),
|
||||
CPU_MODEL_ENT("Athlon"),
|
||||
CPU_MODEL_ENT("Duron"),
|
||||
CPU_MODEL_ENT_R("K6(tm)-III", "K6 III"),
|
||||
CPU_MODEL_ENT_R("K6(tm) 3D+", "K6 3D+"),
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
|
@ -323,6 +325,10 @@ void sigar_cpu_model_adjust(sigar_t *sigar, sigar_cpu_info_t *info)
|
|||
while (*ptr == ' ') ++ptr;
|
||||
}
|
||||
|
||||
if (*ptr == '-') {
|
||||
++ptr; /* e.g. was AMD-K6... */
|
||||
}
|
||||
|
||||
for (i=0; cpu_models[i].name; i++) {
|
||||
const cpu_model_str_t *cpu_model = &cpu_models[i];
|
||||
|
||||
|
|
Loading…
Reference in New Issue