Skip to content

Commit

Permalink
Reduce the amount of logging devoted to NUMA config
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed Apr 17, 2024
1 parent 93b3261 commit 85d8b87
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/libraries/JANA/Utils/JProcessorMapping.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,11 @@ std::ostream& operator<<(std::ostream& os, const JProcessorMapping::LocalityStra

std::ostream& operator<<(std::ostream& os, const JProcessorMapping& m) {

os << "NUMA Configuration" << std::endl;
os << " Affinity strategy: " << m.m_affinity_strategy << std::endl;
os << " Locality strategy: " << m.m_locality_strategy << std::endl;
os << "NUMA Configuration: " << "affinity=" << m.m_affinity_strategy << ", locality=" << m.m_locality_strategy;
if (m.m_locality_strategy != JProcessorMapping::LocalityStrategy::Global) {
os << " Location count: " << m.m_loc_count << std::endl;
os << " (" << m.m_loc_count << " locations)";
}
os << std::endl;

if (m.m_initialized) {
JTablePrinter table;
Expand Down

0 comments on commit 85d8b87

Please sign in to comment.