First steps

This commit is contained in:
JusicP
2020-11-19 22:37:27 +02:00
parent 6920a3bd08
commit 3434111923
1341 changed files with 883624 additions and 46746 deletions

View File

@@ -124,9 +124,13 @@ float GetCPUUsage()
float GetCPUUsage()
{
#ifdef ANDROID
return 0;
#else
double loadavg[3];
getloadavg( loadavg, 3 );
return loadavg[0];
#endif
}
#endif //POSIX