MCPcopy Create free account
hub / github.com/TheHPXProject/hpx / add_remove_scheduler_mode

Method add_remove_scheduler_mode

libs/core/threadmanager/src/threadmanager.cpp:1116–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1114 }
1115
1116 void threadmanager::add_remove_scheduler_mode(
1117 threads::policies::scheduler_mode const to_add_mode,
1118 threads::policies::scheduler_mode const to_remove_mode) const noexcept
1119 {
1120 for (auto const& pool_iter : pools_)
1121 {
1122 pool_iter->get_scheduler()->add_remove_scheduler_mode(
1123 to_add_mode, to_remove_mode);
1124 }
1125 }
1126
1127 void threadmanager::remove_scheduler_mode(
1128 threads::policies::scheduler_mode const mode) const noexcept

Calls 1

get_schedulerMethod · 0.45

Tested by 2

hpx_mainFunction · 0.36
hpx_mainFunction · 0.36