Crates.io | aleo-std-cpu |
lib.rs | aleo-std-cpu |
version | 0.1.4 |
source | src |
created_at | 2022-01-17 23:42:21.817008 |
updated_at | 2023-05-22 16:46:57.634944 |
description | Convenience method for retrieving CPU information |
homepage | |
repository | |
max_upload_size | |
id | 515836 |
size | 40,350 |
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());
}