package numalib

  1. Overview
  2. Docs
include Numa_intf.S with module IO := Io_impl
type bitmask
type nodemask
val numa_bitmask_isbitset : bitmask:bitmask -> bit:int -> int
val numa_bitmask_setall : bitmask:bitmask -> bitmask
val numa_bitmask_clearall : bitmask:bitmask -> bitmask
val numa_bitmask_setbit : bitmask:bitmask -> bit:int -> bitmask
val numa_bitmask_clearbit : bitmask:bitmask -> bit:int -> bitmask
val numa_bitmask_nbytes : bitmask:bitmask -> int
val numa_bitmask_weight : bitmask:bitmask -> int
val numa_bitmask_alloc : bits:int -> bitmask
val numa_bitmask_equal : mask1:bitmask -> mask2:bitmask -> int
val copy_nodemask_to_bitmask : nodemask:nodemask -> bitmask:bitmask -> unit
val copy_bitmask_to_nodemask : bitmask:bitmask -> nodemask:nodemask -> unit
val copy_bitmask_to_bitmask : srcmask:bitmask -> dstmask:bitmask -> unit
val nodemask_zero : nodemask -> unit
val nodemask_equal : nodemask -> nodemask -> int
val numa_available : unit -> int
val numa_max_node : unit -> int
val numa_max_possible_node : unit -> int
val numa_preferred : unit -> int
val numa_node_size64 : int -> int
val numa_node_size : int -> int
val numa_pagesize : unit -> int
val numa_bind : bitmask -> unit
val numa_set_interleave_mask : bitmask -> unit
val numa_get_interleave_mask : unit -> bitmask
val numa_allocate_nodemask : unit -> bitmask
val numa_set_preferred : int -> unit
val numa_set_localalloc : unit -> unit
val numa_set_membind : bitmask -> unit
val numa_get_membind : unit -> bitmask
val numa_get_mems_allowed : unit -> bitmask
val numa_get_interleave_node : unit -> int
val numa_run_on_node_mask : bitmask -> int
val numa_run_on_node_mask_all : bitmask -> int
val numa_run_on_node : int -> int
val numa_get_run_node_mask : unit -> bitmask
val numa_set_bind_policy : strict:int -> unit
val numa_set_strict : strict:int -> unit
val numa_num_possible_nodes : unit -> int
val numa_num_possible_cpus : unit -> int
val numa_num_configured_nodes : unit -> int
val numa_num_configured_cpus : unit -> int
val numa_num_task_cpus : unit -> int
val numa_num_task_nodes : unit -> int
val numa_num_thread_nodes : unit -> int
val numa_allocate_cpumask : unit -> bitmask
val numa_node_to_cpus : node:int -> bitmask:bitmask -> int
val numa_node_of_cpu : int -> int
val numa_distance : int -> int -> int
val numa_migrate_pages : pid:int -> fromnodes:bitmask -> tonodes:bitmask -> int
val numa_sched_getaffinity : pid:int -> bitmask:bitmask -> int
val numa_sched_setaffinity : pid:int -> bitmask:bitmask -> int
val numa_parse_nodestring : string -> bitmask
val numa_parse_nodestring_all : string -> bitmask
val numa_parse_cpustring : string -> bitmask
val numa_parse_cpustring_all : string -> bitmask
OCaml

Innovation. Community. Security.