package cpu

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val numcores : unit -> int

numcores () get the number of processors online.

val setcore : int -> unit

setcore i pin current process to core number i.

OCaml

Innovation. Community. Security.