mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-25 02:29:49 +00:00
fix stats reports
This commit is contained in:
parent
7ebe0347bf
commit
0c2735dbcc
@ -315,7 +315,8 @@ powerpc_cpu::~powerpc_cpu()
|
||||
type = "compile";
|
||||
#endif
|
||||
#if PPC_DECODE_CACHE
|
||||
type = "predecode";
|
||||
if (!type)
|
||||
type = "predecode";
|
||||
#endif
|
||||
if (type) {
|
||||
printf("### Statistics for block %s\n", type);
|
||||
@ -331,7 +332,7 @@ powerpc_cpu::~powerpc_cpu()
|
||||
#endif
|
||||
|
||||
#if PPC_PROFILE_GENERIC_CALLS
|
||||
if (ppc_refcount == 0) {
|
||||
if (use_jit && ppc_refcount == 0) {
|
||||
uint64 total_generic_calls_count = 0;
|
||||
for (int i = 0; i < PPC_I(MAX); i++) {
|
||||
generic_calls_ids[i] = i;
|
||||
|
Loading…
Reference in New Issue
Block a user