Do not account RSX for TSX pauses

This commit is contained in:
Eladash 2021-01-29 08:45:58 +02:00 committed by Ivan
parent 70346028c5
commit a742501a4f
4 changed files with 11 additions and 3 deletions

View file

@ -276,6 +276,14 @@ namespace cpu_counter
{
void add(cpu_thread* _this) noexcept
{
switch (_this->id_type())
{
case 1:
case 2:
break;
default: return;
}
std::lock_guard lock(s_cpu_lock);
u32 id = -1;