mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Return quarter value for PerfQuery in all backends.
This commit is contained in:
@ -96,7 +96,7 @@ u32 PerfQuery::GetQueryResult(PerfQueryType type)
|
|||||||
result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed);
|
result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result / 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PerfQuery::FlushOne()
|
void PerfQuery::FlushOne()
|
||||||
|
@ -46,7 +46,7 @@ u32 Metal::PerfQuery::GetQueryResult(PerfQueryType type)
|
|||||||
result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed);
|
result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result / 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Metal::PerfQuery::FlushResults()
|
void Metal::PerfQuery::FlushResults()
|
||||||
|
@ -80,7 +80,7 @@ u32 PerfQuery::GetQueryResult(PerfQueryType type)
|
|||||||
result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed);
|
result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result / 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Implementations
|
// Implementations
|
||||||
|
Reference in New Issue
Block a user