mirror of
https://github.com/anrieff/libcpuid
synced 2024-11-20 23:01:51 +00:00
Family/Model/Stepping data is reported as hex, too
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@23 3b4be424-7ac5-41d7-8526-f4ddcb85d872
This commit is contained in:
parent
14bcf31db3
commit
1ce98d95e8
1 changed files with 5 additions and 5 deletions
|
@ -490,11 +490,11 @@ int main(int argc, char** argv)
|
|||
fprintf(fout, " vendor_str : `%s'\n", data.vendor_str);
|
||||
fprintf(fout, " vendor id : %d\n", (int) data.vendor);
|
||||
fprintf(fout, " brand_str : `%s'\n", data.brand_str);
|
||||
fprintf(fout, " family : %d\n", data.family);
|
||||
fprintf(fout, " model : %d\n", data.model);
|
||||
fprintf(fout, " stepping : %d\n", data.stepping);
|
||||
fprintf(fout, " ext_family : %d\n", data.ext_family);
|
||||
fprintf(fout, " ext_model : %d\n", data.ext_model);
|
||||
fprintf(fout, " family : %d (%02Xh)\n", data.family, data.family);
|
||||
fprintf(fout, " model : %d (%02Xh)\n", data.model, data.model);
|
||||
fprintf(fout, " stepping : %d (%02Xh)\n", data.stepping, data.stepping);
|
||||
fprintf(fout, " ext_family : %d (%02Xh)\n", data.ext_family, data.ext_family);
|
||||
fprintf(fout, " ext_model : %d (%02Xh)\n", data.ext_model, data.ext_model);
|
||||
fprintf(fout, " num_cores : %d\n", data.num_cores);
|
||||
fprintf(fout, " num_logical: %d\n", data.num_logical_cpus);
|
||||
fprintf(fout, " total_cpus : %d\n", data.total_cpus);
|
||||
|
|
Loading…
Reference in a new issue