Drop support for 32bit cpus; dont show cpu arch and assume x86_64. Little refactoring in calculating the spacing in text displayed

This commit is contained in:
Dr-Noob
2018-06-22 13:39:39 +02:00
parent 7b059c046a
commit ebe49743e5
3 changed files with 26 additions and 19 deletions

2
main.c
View File

@@ -10,7 +10,6 @@
SAMPLE OUTPUT
Name: Intel Core i7-4790K
Arch: 64 Bits
Frequency: 4.0 GHz
NºCores: 4 cores(8 threads)
AXV: AVX,AVX2
@@ -69,7 +68,6 @@ int main(int argc, char* argv[]) {
char* pp = getPeakPerformance(cpu,getFrequency(freq));
setAttribute(art,ATTRIBUTE_NAME,cpuName);
setAttribute(art,ATTRIBUTE_ARCH,"x86_64");
setAttribute(art,ATTRIBUTE_FREQUENCY,maxFrequency);
setAttribute(art,ATTRIBUTE_NCORES,nCores);
setAttribute(art,ATTRIBUTE_AVX,avx);