mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-22 19:13:25 -05:00
Debugger: Optimize cpu_thread::dump_regs()
Reuse string buffer. Copies and reallocations are expensive with such large strings.
This commit is contained in:
1 parent
794cbd8708
commit
5e01ffdfd8
12 files changed
+35
-41
No files matched your search
@@ -119,7 +119,7 @@ std::string dump_useful_thread_info()
|
||||
|
||||
if (auto cpu = get_current_cpu_thread())
|
||||
{
|
||||
result = cpu->dump_all();
|
||||
cpu->dump_all(result);
|
||||
}
|
||||
|
||||
guard = false;
|
||||
|
||||
Reference in new issue
Block a user