package cpuid

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

cpuid — Detect CPU features

v0.0.1

cpuid allows detection of CPU features from OCaml.

cpuid is distributed under the ISC license.

Installation

cpuid can be installed with opam:

opam install cpuid

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation and API reference is automatically generated by ocamldoc from the interfaces. It can be consulted online and there is a generated version in the doc directory of the distribution.

Sample programs

If you installed cpuid with opam sample programs are located in the directory opam config var cpuid:doc.

In the distribution sample programs and tests are located in the test directory of the distribution. They can be built and run with:

topkg build --tests true && topkg test 
OCaml

Innovation. Community. Security.