|
|
6ce633b06b
|
fix opts.c to use correct integer types
|
2025-08-20 13:18:27 +02:00 |
|
|
|
dbcf29dc82
|
remove duplicate checks and put everything on a single line.
|
2025-08-20 12:49:27 +02:00 |
|
|
|
53472e6fc6
|
add help option
|
2025-08-20 12:48:56 +02:00 |
|
|
|
d44235ce0f
|
fatal macro is not printing to stderr
|
2025-08-20 11:46:05 +02:00 |
|
|
|
96ec279d9a
|
correct main.c to use correct integer types, and optimise cpu_setter.
|
2025-08-19 10:45:02 +02:00 |
|
|
|
4200d859aa
|
fix: .editorconfig used indent_size, which should be equal to tab
|
2025-08-19 10:44:02 +02:00 |
|
|
|
82a33791de
|
fix: cpu.c was not coded correctly; some edge cases and using static-width integers
|
2025-08-19 10:44:02 +02:00 |
|
|
|
bdccc05440
|
rework some (minor) things
|
2025-08-19 10:44:02 +02:00 |
|
|
|
2731f908b3
|
update makefile
makefile is now more compiler-agnostic and consistent with how one
expects a makefile to be built.
|
2025-08-11 15:44:40 +02:00 |
|
|
|
782e78760b
|
update formatting
|
2025-08-11 15:34:48 +02:00 |
|
|
|
2bd68392cb
|
write some documentation
v1.0.1
|
2025-03-20 18:35:50 +01:00 |
|
|
|
64a4cd893e
|
fix: when -v is not set, not all cpus are disabled
removed the else if check, and use a continue, if pattern instead
|
2025-03-20 18:30:46 +01:00 |
|
|
|
164c8654b9
|
fix: off-by-one due to <= instead of <
|
2025-03-20 15:29:45 +01:00 |
|
|
|
cc9f8feb61
|
bake OPT_LIST_CORES into OPT_VERBOSE
|
2025-03-20 15:24:01 +01:00 |
|
|
|
0a60702f9d
|
allow to list active cpu cores
also use nproc to get an accurate amount instead of guessing
|
2025-03-20 15:23:13 +01:00 |
|
|
|
4812cbd3c0
|
use exit(1) instead of abort()
|
2025-03-20 14:48:22 +01:00 |
|
|
|
3375ce5531
|
fix: convert state character to integer
|
2025-03-20 13:59:41 +01:00 |
|
|
|
f3c58a3923
|
implement activation / deactivation
|
2025-03-20 13:59:10 +01:00 |
|
|
|
c123b2de11
|
fix: remove unused $(EXT)
|
2025-03-20 13:58:18 +01:00 |
|
|
|
03a844273c
|
rename get/set -core to -cpu
|
2025-03-20 11:01:35 +01:00 |
|
|
|
cc55e01281
|
use abort() instead of exit(1)
|
2025-03-20 10:57:01 +01:00 |
|
|
|
b017f503eb
|
divide main.c into multiple modules
|
2025-03-20 10:56:10 +01:00 |
|
|
|
99cb3398bf
|
add cpu handling functions
add the functions which handle the /sys/devices/cpu/cpuX/online files
|
2025-03-20 10:39:21 +01:00 |
|
|
|
02a2472826
|
write some starting code to get basic option functionality
|
2025-03-19 21:09:26 +01:00 |
|
|
|
a982c884d3
|
initialize repository
|
2025-03-19 21:09:26 +01:00 |
|