Commit Graph

20 Commits

Author SHA1 Message Date
Dr-Noob
aa5f0a8b88 Add install option in Makefile 2020-09-21 13:07:18 +02:00
Dr-Noob
5148962fa3 Add code to detect CPU microarchitecture (Intel only, at the moment) 2020-08-31 13:18:25 +02:00
Dr-Noob
ad6c3c88ce Small corrections in code and Makefile 2020-07-12 15:39:34 +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
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
a2dab8129c Use standart types instead of int/long in specific files. This fixes a problem in Windows, were PP was not computed correctly. Compiling with C99 2020-06-22 12:47:14 +02:00
Dr-Noob
08ce1de122 Add fallback in Linux in case we cant get the freq from cpuid, using udev (welcome back, udev...) 2020-06-22 12:05:04 +02:00
Dr-Noob
1435978b37 Add release and debug targets in Makefile. Improve robustness by checking cache sizes and snprintf returns 2020-06-21 13:37:44 +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
9f55672aa2 Divide source code from other stuff 2018-06-23 13:04:42 +02:00
Dr-Noob
e9b5fe5f0a Add gcc flags to improve reliability 2018-06-22 21:01:16 +02:00
Dr-Noob
3199ac739a Function to notify errors 2018-06-22 20:36:56 +02:00
Dr-Noob
7b059c046a Support for simple args options(currently, help and style). New feature to switch colors of logo, to improve visibility in bright terminals 2018-06-21 15:30:29 +02:00
Dr-Noob
49d59d6708 Fixed freq bug. Improved Makefile and fixed some minor errors 2018-05-21 15:36:32 +02:00
Dr-Noob
785545a008 Moved 01h(name) to standart and removed 02h(useless) 2018-03-31 12:16:08 +02:00
Dr-Noob
3e1f6af8ae Detecting CPU vendor. Support for printing ascii 2018-03-30 11:58:27 +02:00
Dr-Noob
978f283e1a Print all information 2018-03-29 23:27:59 +02:00
Dr-Noob
d857799002 Basic support for advanced instructions 2018-03-25 00:20:42 +01:00
Dr-Noob
97e21a64ba Moved to asm cpuid call. Support for CPU name string. Output skecth on main 2018-03-24 23:57:49 +01:00
Dr-Noob
7afefdb672 Added makefile 2018-03-24 18:18:50 +01:00