https://github.com/zeam-vm/cpu_info
An Elixir library to 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).
https://github.com/zeam-vm/cpu_info
cpuinfo elixir
Last synced: 3 months ago
JSON representation
An Elixir library to 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).
- Host: GitHub
- URL: https://github.com/zeam-vm/cpu_info
- Owner: zeam-vm
- License: apache-2.0
- Created: 2019-10-30T04:13:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-02T00:20:05.000Z (over 5 years ago)
- Last Synced: 2024-03-14T23:47:09.042Z (over 2 years ago)
- Topics: cpuinfo, elixir
- Language: Elixir
- Homepage:
- Size: 59.6 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# CpuInfo
**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).
## Installation
This package can be installed
by adding `cpu_info` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:cpu_info, "~> 0.2.1"}
]
end
```
## Tested Platforms
* 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](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/cpu_info](https://hexdocs.pm/cpu_info).