package processor
Module Processor.CpuSource
Expresses a logical CPU/thread.
Source
type t = {id : int;(*A monotonically increasing id
*)kind : kind;(*
*)PerformanceorEnergy Efficientsmt : int;(*The smt/thread id
*)core : int;(*The core id, a core can have multiple smt/threads
*)socket : int;(*The socked id, a socket can have multiple cores
*)
}A logical CPU
from_smt smt cpulist are all Cpu.t of cpulist of smt smt
from_core core cpulist are all Cpu.t of cpulist of core core
from_socket cpulist are all Cpu.t of cpulist of socket socket