プログラムで作業しているコアを変更するようにスレッドに指示する方法は何ですか?
いくつかのコアを持つFX-8150を使用しているが、スレッドの1つを特に5.coreで動作させたいとしましょう。これは可能ですか?はいの場合、Javaのサンプルを教えてください。スレッドは、別のプロセスのスレッドまたは現在のプロセスのスレッドである可能性があります。
私の疑似例:
time interval 1 : my_thread working in first core at 5GHz while other cores are 3.6 GHz
time interval 2 : my_thread working in second core at 5GHz while other cores are 3.6 GHz
time interval 3 : my_thread working in third core at 5GHz while other cores are 3.6 GHz
time interval 4 : my_thread working in fourth core at 5GHz while other cores are 3.6 GHz
time interval 5 : my_thread working in fifth core at 5GHz while other cores are 3.6 GHz
time interval 6 : my_thread working in sixth core at 5GHz while other cores are 3.6 GHz
time interval 7 : my_thread working in seventh core at 5GHz while other cores are 3.6 GHz
time interval 8 : my_thread working in eighth core at 5GHz while other cores are 3.6 GHz
他のすべてのコアはアイドル状態である必要があります。