Revision d23100d28be7288611eeb474d98d624750a2c56b authored by Roberto Di Cosmo on 30 November 2017, 20:59:20 UTC, committed by GitHub on 30 November 2017, 20:59:20 UTC
Add support for user-level enabling/disabling of core pinning
2 parent s f7346fc + 7c3283c
Raw File
setcore.ml
(* uses the native affinity interface to
   declare that the current process should be
   attached to core number n *)

external numcores: unit -> int = "numcores"
external setcore: int -> unit = "setcore"
back to top