File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Processor Topology & Affinity for ocaml
2
2
3
+ [ API Online] ( https://haesbaert.github.io/ocaml-processor/ )
4
+
3
5
This library allows you to query the processor topology as well as set
4
6
the processor affinity for the current process. This library does
5
7
* not* depend on ocaml-5 (Multicore), but it can be used within ocaml-5
Original file line number Diff line number Diff line change 15
15
*)
16
16
(* * Expresses a logical CPU/thread. *)
17
17
18
- type kind = P_core | E_core
19
- (* * The [kind] of a {!Cpu.t}: [Performance] or [Energy Efficient] *)
18
+ type kind =
19
+ | P_core (* * Performance cpu, faster, power hungry one *)
20
+ | E_core (* * Energy efficient, slower, global warming aware one *)
21
+ (* * The [kind] of a {!Cpu.t} *)
20
22
21
23
type t = {
22
24
id : int ; (* * A monotonically increasing id *)
You can’t perform that action at this time.
0 commit comments