Commit Graph

17 Commits

Author SHA1 Message Date
Dr-Noob
ad6c3c88ce Small corrections in code and Makefile 2020-07-12 15:39:34 +02:00
Dr-Noob
7164409ca2 Add legacy style (for Windows) and make it the default for Windows. Add verbose flag 2020-07-06 01:30:14 +02:00
Dr-Noob
08f79bb914 Fix compilation in Windows and add support for bind to specific cores. Separate APIC code in other file 2020-07-06 01:16:59 +02:00
Dr-Noob
c8fde107dd Fix ascii logo in AMD. Fix output on CPUs without L3 2020-07-03 16:24:14 +02:00
Dr-Noob
b076189b32 Add support to detect if HT/SMT is enabled or disabled 2020-07-03 16:11:09 +02:00
Dr-Noob
d43229359a Support for 4 colors with --color (2 for ascii, 2 for text) 2020-07-03 09:42:30 +02:00
Dr-Noob
ba047c76e3 Add two different styles. The old one is now called retro, and the new one, which is the default, is called fancy 2020-07-02 18:53:28 +02:00
Dr-Noob
942a86c04f Remove styles and add option to specify custom color output in RGB format 2020-07-02 16:14:37 +02:00
Dr-Noob
ea338a68c8 Forgot to support AMD in printer 2020-06-29 17:32:50 +02:00
Dr-Noob
d7b7e2b62d Support printing dual socket. Fix bug where cache sizes were not displayed correctly (they were truncated) 2020-06-29 17:13:37 +02:00
Dr-Noob
941bf35d03 Big refactoring. Move ascii managment to printer. Mix extended and standart cpuid functions in cpuid file. Old cpuid renamed to cpuid_asm. Store cpu name in cpuInfo struct 2020-06-28 15:51:30 +02:00
Dr-Noob
131d860de6 Print total cache sizes (for L1 and L2, but also for L3 in case we run in dual socket!) 2020-06-28 12:47:03 +02:00
Dr-Noob
0087453eda Refactoring in printer 2020-06-21 12:43:51 +02:00
Dr-Noob
0cba7b4348 Add "none" style (useful for non colored terminals). Refactoring in printer 2020-06-21 11:07:35 +02:00
Dr-Noob
b81d611282 Fetch freq from cpuid, instead of asking Linux (using /proc). This finally removes udev dependency. However, the support of cpuid 0x16 is limited, so this may break cpufetch on some systems 2020-06-20 13:24:50 +02:00
Dr-Noob
7cd4cb6dcb Fixed little bug in amd. Introduced feature to check version 2018-06-24 00:17:50 +02:00
Dr-Noob
9f55672aa2 Divide source code from other stuff 2018-06-23 13:04:42 +02:00