mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Debugger: Optimize cpu_thread::dump_regs()
Reuse string buffer. Copies and reallocations are expensive with such large strings.
This commit is contained in:
parent
794cbd8708
commit
5e01ffdfd8
12 changed files with 35 additions and 41 deletions
|
|
@ -677,7 +677,7 @@ enum class spu_type : u32
|
|||
class spu_thread : public cpu_thread
|
||||
{
|
||||
public:
|
||||
virtual std::string dump_regs() const override;
|
||||
virtual void dump_regs(std::string&) const override;
|
||||
virtual std::string dump_callstack() const override;
|
||||
virtual std::vector<std::pair<u32, u32>> dump_callstack_list() const override;
|
||||
virtual std::string dump_misc() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue