×
日本語のページを検索
  • すべての言語
  • 日本語のページを検索
すべての結果
sched_setaffinity() は、スレッド ID が pid のスレッドの CPU affinity マスクを mask で指定された値に設定する。 pid が 0 の場合、呼び出し元スレッドが使われる。
2015/11/17 · LinuxはCPUアフィニティを設定するための関数sched_setaffinityが用意されている。 一応、例. Copied! #define _GNU_SOURCE #include <sched.
2024/07/08 · If your process is already running, you can define thread affinity while in flight. It also lets you bind specific TIDs to specific processors ...
2016/06/01 · アフィニティというのは「このプロセスは2番4番7番目のCPUコアの上でしか実行しないで!」のようにOSに対し明示的に設定するものです。 普通にググっても ...
アフィニティーは ビットマスク で表され、マスクの各ビットが CPU コアを表します。ビットが 1 に設定されている場合は、スレッドまたは割り込みがそのコアで実行されます ...
The pthread_setaffinity_np() function sets the CPU affinity mask of the thread thread to the CPU set pointed to by cpuset.
Affinity is represented as a bit mask, where each bit in the mask represents a CPU core. If the bit is set to 1, then the thread or interrupt runs on that core; ...
sched_setaffinity() は、スレッド ID が pid のスレッドの CPU affinity マスクを mask で指定 された値に設定する。 pid が 0 の場合、呼び出し元スレッドが使われる。
A thread's CPU affinity mask determines the set of CPUs on which it is eligible to run. On a multiprocessor system, setting the CPU affinity mask can be used to ...