mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
Logging fix
This commit is contained in:
parent
0791349455
commit
7bd4cfc5b3
1 changed files with 13 additions and 3 deletions
|
@ -1576,6 +1576,19 @@ void spu_thread::cpu_on_stop()
|
||||||
dump_all(ret);
|
dump_all(ret);
|
||||||
spu_log.notice("thread context: %s", ret);
|
spu_log.notice("thread context: %s", ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_stopped(state - cpu_flag::stop))
|
||||||
|
{
|
||||||
|
if (stx == 0 && ftx == 0 && last_succ == 0 && last_fail == 0)
|
||||||
|
{
|
||||||
|
perf_log.notice("SPU thread perf stats are not available.");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
perf_log.notice("Perf stats for transactions: success %u, failure %u", stx, ftx);
|
||||||
|
perf_log.notice("Perf stats for PUTLLC reload: success %u, failure %u", last_succ, last_fail);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void spu_thread::cpu_init()
|
void spu_thread::cpu_init()
|
||||||
|
@ -1963,9 +1976,6 @@ spu_thread::~spu_thread()
|
||||||
shm->unmap(ls);
|
shm->unmap(ls);
|
||||||
shm->unmap(ls - SPU_LS_SIZE);
|
shm->unmap(ls - SPU_LS_SIZE);
|
||||||
utils::memory_release(ls - SPU_LS_SIZE * 2, SPU_LS_SIZE * 5);
|
utils::memory_release(ls - SPU_LS_SIZE * 2, SPU_LS_SIZE * 5);
|
||||||
|
|
||||||
perf_log.notice("Perf stats for transactions: success %u, failure %u", stx, ftx);
|
|
||||||
perf_log.notice("Perf stats for PUTLLC reload: success %u, failure %u", last_succ, last_fail);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
u8* spu_thread::map_ls(utils::shm& shm, void* ptr)
|
u8* spu_thread::map_ls(utils::shm& shm, void* ptr)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue