Crates.io | aleo-std-cpu |
lib.rs | aleo-std-cpu |
version | 1.0.1 |
source | src |
created_at | 2022-01-17 23:42:21.817008+00 |
updated_at | 2025-03-11 17:12:54.200263+00 |
description | Convenience method for retrieving CPU information |
homepage | |
repository | |
max_upload_size | |
id | 515836 |
size | 40,489 |
This crate uses aleo-std-cpu
to implement convenience methods for retrieving CPU information.
Note: This crate only supports Intel and AMD chipsets. For performance reasons in snarkVM, M1 chips default to Intel.
fn foo() {
// Prints the CPU name.
println!("{:?}", aleo_std::get_cpu());
}