From 35f78e15fbbd3476ba99caf4e8a40062e85de1d8 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 13 Mar 2017 14:34:33 +0000 Subject: [PATCH] Added printout of SystemStats::getNumPhysicalCpus() to demo app --- examples/Demo/Source/Demos/SystemInfoDemo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/Demo/Source/Demos/SystemInfoDemo.cpp b/examples/Demo/Source/Demos/SystemInfoDemo.cpp index 73852aea59..698ceaf54f 100644 --- a/examples/Demo/Source/Demos/SystemInfoDemo.cpp +++ b/examples/Demo/Source/Demos/SystemInfoDemo.cpp @@ -122,7 +122,8 @@ static String getAllSystemInfo() << newLine; systemInfo - << "Number of CPUs: " << SystemStats::getNumCpus() << newLine + << "Number of logical CPUs: " << SystemStats::getNumCpus() << newLine + << "Number of physical CPUs: " << SystemStats::getNumPhysicalCpus() << newLine << "Memory size: " << SystemStats::getMemorySizeInMegabytes() << " MB" << newLine << "CPU vendor: " << SystemStats::getCpuVendor() << newLine << "CPU model: " << SystemStats::getCpuModel() << newLine