Skip to content

Commit

Permalink
Add debug output for physical and logical cores
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Aug 16, 2024
1 parent 8540130 commit 5ff558e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Base/Base/Util/CPUInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ CPUInfo& CPUInfo::Get()

void CPUInfo::Print(i32 detailLevel)
{
NC_LOG_INFO("[CPUInfo]: Physical cores: {0}", _numCores);
NC_LOG_INFO("[CPUInfo]: Logical cores: {0}", _numThreads);
if (detailLevel > 0)
{
NC_LOG_INFO("[CPUInfo]: {0}", _prettyName);
Expand Down

0 comments on commit 5ff558e

Please sign in to comment.