SWDEV-280773 - Log affinity reset
Change-Id: I101c14174097d262d5d5b924cb31a69483a49c04
This commit is contained in:
@@ -370,6 +370,7 @@ const void* Os::createOsThread(amd::Thread* thread) {
|
||||
// We never plan the use join, so free the resources now.
|
||||
::pthread_attr_setdetachstate(&threadAttr, PTHREAD_CREATE_DETACHED);
|
||||
if (!AMD_CPU_AFFINITY) {
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_INIT, "Reseting CPU core affinities");
|
||||
cpu_set_t cpuset;
|
||||
if (processorCount_ > 0) {
|
||||
CPU_ZERO(&cpuset);
|
||||
|
||||
Reference in New Issue
Block a user