MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / victims

Method victims

include/exec/static_thread_pool.hpp:629–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627 void request_stop();
628
629 void victims(std::vector<workstealing_victim> const & victims)
630 {
631 for (workstealing_victim v: victims)
632 {
633 if (v.index() == index_)
634 {
635 // skip self
636 continue;
637 }
638 if (v.numa_node() == numa_node_)
639 {
640 near_victims_.push_back(v);
641 }
642 all_victims_.push_back(v);
643 }
644 }
645
646 [[nodiscard]]
647 auto index() const noexcept -> std::uint32_t

Callers 1

_static_thread_poolMethod · 0.80

Calls 3

indexMethod · 0.45
numa_nodeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected