diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/apple_silicon/src/soc.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/apple_silicon/src/soc.rs b/src/apple_silicon/src/soc.rs index fcf3ed3..17ff323 100644 --- a/src/apple_silicon/src/soc.rs +++ b/src/apple_silicon/src/soc.rs @@ -4,9 +4,13 @@ use std::process::Command; pub type Result<T> = std::result::Result<T, Error>; +/// Information about the Silicon chip pub struct SocInfo { + /// The CPU brand name string pub cpu_brand_name: String, + /// Number of CPU cores pub num_cpu_cores: u16, + /// Number of GPU cores pub num_gpu_cores: u16, } |
