CpuInfo: get CPU information, including a type, number of processors, number of physical cores and logical threads of a processor, and status of simultaneous multi-threads (hyper-threading).
This package can be installed
by adding cpu_info
to your list of dependencies in mix.exs
:
def deps do
[
{:cpu_info, "~> 0.2.1"}
]
end
- Linux (with or without CUDA, including Jetson Nano)
- macOS (with or without Metal)
- Nerves (compile time and execution time)
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/cpu_info.