ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation.sched.topology.types Module Reference

Data Structures

struct  zxfoundation::sched::topology::cpu_topology_record
 Per-CPU topology and load record consumed by scheduler balancing. More...
struct  zxfoundation::sched::topology::strand_placement_policy
 Placement policy associated with a schedulable strand. More...

Enumerations

enum class  cpu_relation : u8 {
  self = 0 , same_smt_core = 1 , same_core_group = 2 , same_numa_node = 3 ,
  remote_numa_node = 4 , unavailable = 5
}
 Relative placement distance between two logical CPUs.
enum class  cpu_scheduling_state : u8 { offline = 0 , online = 1 , draining = 2 , isolated = 3 }
 Scheduler-visible CPU lifecycle state.

Variables

bool allow_remote_node {true}
bool allow_smt_sibling {true}
u32 balance_interval_ns {1'000'000U}
u8 capacity {100}
zxfoundation::sched::topology_evidence capacity_evidence {zxfoundation::sched::topology_evidence::absent}
zxfoundation::sched::topology_evidence core_evidence {zxfoundation::sched::topology_evidence::absent}
u8 core_id {0}
u16 cpu_addr {0}
zxfoundation::sched::topology_evidence cpu_evidence {zxfoundation::sched::topology_evidence::absent}
u16 cpu_id {0}
u8 cpu_type {0}
u32 deadline_load {0}
u8 drawer_id {0}
u32 fair_load {0}
bool isolation_sensitive {false}
u32 last_balance_tick {0}
u8 numa_node {0}
u8 preferred_node {0xFFU}
u8 raw_evidence_flags {0}
u32 rt_load {0}
u32 run_queue_load {0}
zxfoundation::sched::topology_evidence smt_evidence {zxfoundation::sched::topology_evidence::absent}
u8 smt_id {0}
cpu_scheduling_state state {cpu_scheduling_state::offline}

Files

file  zxfoundation/sched/topology.zcomponent/types.cxxm