diff --git a/Source/RSP/Profiling.cpp b/Source/RSP/Profiling.cpp index 95891554b..648f945f0 100644 --- a/Source/RSP/Profiling.cpp +++ b/Source/RSP/Profiling.cpp @@ -24,6 +24,7 @@ * */ +#include #include #include extern "C" { @@ -168,8 +169,9 @@ public: { char Buffer[255]; float CpuUsage = (float)(((double)ItemList[count]->second / (double)TotalTime) * 100); + if (CpuUsage <= 0.2) { continue; } - sprintf(Buffer,"Func 0x%08X",ItemList[count]->first); + sprintf(Buffer, "Func 0x%08X", ItemList[count]->first); for (int NameID = 0; NameID < (sizeof(TimerNames) / sizeof(TIMER_NAME)); NameID++) { if (ItemList[count]->first == (DWORD)TimerNames[NameID].Timer)