package cpu

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

Module CpuSource

Sourceval numcores : unit -> int

numcores () get the number of processors online.

Sourceval setcore : int -> unit

setcore i pin current process to core number i.

OCaml

Innovation. Community. Security.