aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-12-29split main.rs into bin/apple_silicon.rs and lib.rsFranck Cuny2-3/+4
Create a binary named `apple_silicon`, and add a library named to the project, so it can be re-used by external projects.
2024-12-29report TDP for GPU and CPUFranck Cuny2-11/+186
Add the TDP for the GPUs and CPUs, for the models we know about. Apple does not publish information about TDP so we're going to have to gather that information by going over various sites. Add some unit tests.
2024-12-28use a constant value for the path to sysctlFranck Cuny1-1/+3
2024-12-28document the public typesFranck Cuny1-0/+4
2024-12-28be more explicit in the default outputFranck Cuny1-1/+1