1
0
Fork 0
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:
Veselin Georgiev 2008-11-20 16:14:59 +00:00
parent 14bcf31db3
commit 1ce98d95e8

View file

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