mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
perf_meter.hpp: fix double rdtsc bug, add restart() method
This commit is contained in:
parent
006c783aba
commit
e794109a67
2 changed files with 13 additions and 9 deletions
|
@ -2750,9 +2750,7 @@ bool spu_thread::process_mfc_cmd()
|
|||
std::this_thread::yield();
|
||||
|
||||
// Reset perf
|
||||
perf_meter<'x'> dummy;
|
||||
perf0 = dummy;
|
||||
dummy.reset();
|
||||
perf0.restart();
|
||||
}
|
||||
|
||||
alignas(64) spu_rdata_t temp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue