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).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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 and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/cpu_info.

About

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).

License:Apache License 2.0


Languages

Language:Elixir 100.0%