mirror of https://github.com/PCSX2/pcsx2.git
Profiling: Fix QT builds where USE_VTUNE is true
This commit is contained in:
parent
4db49038c8
commit
4975f7f098
|
@ -20,6 +20,10 @@
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_VTUNE
|
#ifdef ENABLE_VTUNE
|
||||||
#include "jitprofiling.h"
|
#include "jitprofiling.h"
|
||||||
|
|
||||||
|
#include <string> // std::string
|
||||||
|
#include <cstring> // strncpy
|
||||||
|
#include <algorithm> // std::remove_if
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define ProfileWithPerf
|
//#define ProfileWithPerf
|
||||||
|
|
|
@ -219,7 +219,7 @@ public:
|
||||||
|
|
||||||
// if(iJIT_IsProfilingActive()) // always > 0
|
// 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;
|
iJIT_Method_Load ml;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue