Change per instruction run counts to u64 on all platforms. JIT64 and JITIL runcount isn't implemented properly(and is disabled) so this doesn't effect them.

This commit is contained in:
Ryan Houdek 2013-08-18 00:15:29 +00:00
parent d6fe9c639b
commit 7294fe5a3f
2 changed files with 2 additions and 6 deletions

View File

@ -213,7 +213,7 @@ void LogCompiledInstructions()
{
if (m_allInstructions[i]->compileCount > 0)
{
fprintf(f.GetHandle(), "%s\t%i\t%i\t%08x\n", m_allInstructions[i]->opname,
fprintf(f.GetHandle(), "%s\t%i\t%lld\t%08x\n", m_allInstructions[i]->opname,
m_allInstructions[i]->compileCount, m_allInstructions[i]->runCount, m_allInstructions[i]->lastUse);
}
}
@ -223,7 +223,7 @@ void LogCompiledInstructions()
{
if (m_allInstructions[i]->compileCount == 0)
{
fprintf(f.GetHandle(), "%s\t%i\t%i\n", m_allInstructions[i]->opname,
fprintf(f.GetHandle(), "%s\t%i\t%lld\n", m_allInstructions[i]->opname,
m_allInstructions[i]->compileCount, m_allInstructions[i]->runCount);
}
}

View File

@ -77,11 +77,7 @@ struct GekkoOPInfo
int type;
int flags;
int numCyclesMinusOne;
#ifdef _M_ARM
u64 runCount;
#else
int runCount;
#endif
int compileCount;
u32 lastUse;
};