|
|
auto | zxfoundation::sched::sd::domain_contains_cpu (const sched_domain &sd, u16 cpu) noexcept -> bool |
| | Test whether cpu is in sd.span_cpus.
|
|
template<typename Fn> |
| auto | zxfoundation::sched::sd::for_each_group (const sched_domain &sd, Fn &&fn) noexcept -> void |
| | Iterate each sched_group in a domain's ring, invoking fn.
|
|
auto | zxfoundation::sched::sd::highest_flag_domain (const sched_domain *base, sd_flag flag) noexcept -> const sched_domain * |
| | Walk up the hierarchy from base returning the first domain that has all of the requested flag bits set.
|
|
auto | zxfoundation::sched::sd::is_cache_hot (const sched_domain &sd, u64 elapsed_ns) noexcept -> bool |
| | Cache-hot predicate: keeping a strand on its current CPU for cache_hot_time_ns since last run.
|
|
auto | zxfoundation::sched::sd::lowest_flag_domain (const sched_domain *base, sd_flag flag) noexcept -> const sched_domain * |
| | Walk down the hierarchy from base returning the lowest domain which has all of flag set.
|
|
auto | zxfoundation::sched::sd::tree_build (u16 cpu, const zxfoundation::sched::topology::cpu_topology_record *topo_record, const ::lib::cpumask &node_mask, sched_domain_tree &out_tree) noexcept -> void |
| | Build one CPU's sched_domain tree.
|