mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +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
|
|
@ -151,10 +151,10 @@ public:
|
|||
std::string get_name() const;
|
||||
|
||||
// Get CPU state dump (everything)
|
||||
virtual std::string dump_all() const;
|
||||
virtual void dump_all(std::string&) const;
|
||||
|
||||
// Get CPU register dump
|
||||
virtual std::string dump_regs() const;
|
||||
virtual void dump_regs(std::string&) const;
|
||||
|
||||
// Get CPU call stack dump
|
||||
virtual std::string dump_callstack() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue