mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-21 11:51:48 +02:00
Reset the performance counters at the start of the each block.
This commit is contained in:
parent
853d12b42c
commit
15d3c45159
2 changed files with 4 additions and 0 deletions
|
@ -445,6 +445,8 @@ const u8* Jit64::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBloc
|
||||||
js.curBlock = b;
|
js.curBlock = b;
|
||||||
js.block_flags = 0;
|
js.block_flags = 0;
|
||||||
js.cancel = false;
|
js.cancel = false;
|
||||||
|
jit->js.numLoadStoreInst = 0;
|
||||||
|
jit->js.numFloatingPointInst = 0;
|
||||||
|
|
||||||
// Analyze the block, collect all instructions it is made of (including inlining,
|
// Analyze the block, collect all instructions it is made of (including inlining,
|
||||||
// if that is enabled), reorder instructions for optimal performance, and join joinable instructions.
|
// if that is enabled), reorder instructions for optimal performance, and join joinable instructions.
|
||||||
|
|
|
@ -548,6 +548,8 @@ const u8* JitIL::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBloc
|
||||||
js.fifoBytesThisBlock = 0;
|
js.fifoBytesThisBlock = 0;
|
||||||
js.curBlock = b;
|
js.curBlock = b;
|
||||||
js.cancel = false;
|
js.cancel = false;
|
||||||
|
jit->js.numLoadStoreInst = 0;
|
||||||
|
jit->js.numFloatingPointInst = 0;
|
||||||
|
|
||||||
// Analyze the block, collect all instructions it is made of (including inlining,
|
// Analyze the block, collect all instructions it is made of (including inlining,
|
||||||
// if that is enabled), reorder instructions for optimal performance, and join joinable instructions.
|
// if that is enabled), reorder instructions for optimal performance, and join joinable instructions.
|
||||||
|
|
Loading…
Reference in a new issue