package corecount

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

Module CorecountSource

Get a count of cores on the current machine, simple exposure of http://en.cppreference.com/w/cpp/thread/thread/hardware_concurrency

Sourceexception Count_not_defined

Raised when the value is not well defined or not computable

Sourceval count : unit -> Stdlib.Nativeint.t

Returns the number of cores on the current machine

OCaml

Innovation. Community. Security.