mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-30 16:20:20 +00:00
Update SPU dump: print current MFC cmd
This commit is contained in:
parent
33a1c743a4
commit
8d5bbfb850
@ -61,3 +61,11 @@ void fmt_class_string<MFC>::format(std::string& out, u64 arg)
|
|||||||
return unknown;
|
return unknown;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template <>
|
||||||
|
void fmt_class_string<spu_mfc_cmd>::format(std::string& out, u64 arg)
|
||||||
|
{
|
||||||
|
const auto& cmd = get_object(arg);
|
||||||
|
|
||||||
|
fmt::append(out, "%s #%02u 0x%05x:0x%08x 0x%x", cmd.cmd, cmd.tag, cmd.lsa, cmd.eah * 0x100000000ull + cmd.eal, cmd.size);
|
||||||
|
}
|
||||||
|
@ -499,8 +499,8 @@ std::string SPUThread::dump() const
|
|||||||
std::string ret = cpu_thread::dump();
|
std::string ret = cpu_thread::dump();
|
||||||
|
|
||||||
// Print some transaction statistics
|
// Print some transaction statistics
|
||||||
fmt::append(ret, "\nTX: %u; Fail: %u (0x%x)", tx_success, tx_failure, tx_status);
|
|
||||||
fmt::append(ret, "\nBlocks: %u; Fail: %u", block_counter, block_failure);
|
fmt::append(ret, "\nBlocks: %u; Fail: %u", block_counter, block_failure);
|
||||||
|
fmt::append(ret, "\n[%s]", ch_mfc_cmd);
|
||||||
fmt::append(ret, "\nTag Mask: 0x%08x", ch_tag_mask);
|
fmt::append(ret, "\nTag Mask: 0x%08x", ch_tag_mask);
|
||||||
fmt::append(ret, "\nMFC Stall: 0x%08x", ch_stall_mask);
|
fmt::append(ret, "\nMFC Stall: 0x%08x", ch_stall_mask);
|
||||||
fmt::append(ret, "\nMFC Queue Size: %u", mfc_size);
|
fmt::append(ret, "\nMFC Queue Size: %u", mfc_size);
|
||||||
@ -509,9 +509,7 @@ std::string SPUThread::dump() const
|
|||||||
{
|
{
|
||||||
if (i < mfc_size)
|
if (i < mfc_size)
|
||||||
{
|
{
|
||||||
fmt::append(ret, "\n[%s #%02u 0x%05x:0x%08x 0x%x]",
|
fmt::append(ret, "\n%s", mfc_queue[i]);
|
||||||
mfc_queue[i].cmd, mfc_queue[i].tag, mfc_queue[i].lsa,
|
|
||||||
mfc_queue[i].eah * 0x100000000ull + mfc_queue[i].eal, mfc_queue[i].size);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -584,10 +584,6 @@ public:
|
|||||||
|
|
||||||
const std::string m_name; // Thread name
|
const std::string m_name; // Thread name
|
||||||
|
|
||||||
u64 tx_success = 0;
|
|
||||||
u64 tx_failure = 0;
|
|
||||||
uint tx_status = 0;
|
|
||||||
|
|
||||||
std::unique_ptr<class spu_recompiler_base> jit; // Recompiler instance
|
std::unique_ptr<class spu_recompiler_base> jit; // Recompiler instance
|
||||||
|
|
||||||
u64 block_counter = 0;
|
u64 block_counter = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user