Revision 314f1ad3c1c71f18668cfe3de32d28968d969828 authored by Roberto Di Cosmo on 23 February 2017, 21:02:33 UTC, committed by GitHub on 23 February 2017, 21:02:33 UTC
added get_ncores, thanks to @UnixJunkie 
2 parent s 743ec49 + ac94452
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