Profiling: Fix QT builds where USE_VTUNE is true

This commit is contained in:
Ty Lamontagne 2022-11-08 14:37:24 -05:00 committed by refractionpcsx2
parent 4db49038c8
commit 4975f7f098
2 changed files with 5 additions and 1 deletions

View File

@ -20,6 +20,10 @@
#endif
#ifdef ENABLE_VTUNE
#include "jitprofiling.h"
#include <string> // std::string
#include <cstring> // strncpy
#include <algorithm> // std::remove_if
#endif
//#define ProfileWithPerf

View File

@ -219,7 +219,7 @@ public:
// if(iJIT_IsProfilingActive()) // always > 0
{
std::string name = format("%s<%016llx>()", m_name.c_str(), (u64)key);
std::string name = fmt::format("%s<%016llx>()", m_name.c_str(), (u64)key);
iJIT_Method_Load ml;