package processor
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Get and Set current process/domain affinity.
Setting processor affinity (aka pinning) allows you to change the set of logical cpus your process/domain can run on. Changing the affinity is not supported on Apple/Darwin.
See https://github.com/haesbaert/ocaml-processor for a tutorial.
val get_cpus : unit -> Cpu.t list
get_cpus
Retrieves a list of CPUs this process can currently run on
val set_cpus : Cpu.t list -> unit
set_cpus cl
Change the set of cpus this process can run on
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>