mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Return quarter value for PerfQuery in all backends.
This commit is contained in:
parent
970ddf0ea0
commit
ddd2b598da
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user