I have this simple code
int main()
{
while (1){}
return 0;
}
When I run this code on Windows, why is my cpu usage only 25%? Yet, when I run it on Linux, my cpu usage is 100%
I have 4 cores on my Windows machine, and I have 12 cores on my Linux machine.