mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-02 11:57:09 +02:00
Maybe unused
This commit is contained in:
parent
bd505c1621
commit
c5c581d5f3
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ bool Event::WaitFor(const std::chrono::nanoseconds time) {
|
||||||
auto const start = Common::X64::FencedRDTSC();
|
auto const start = Common::X64::FencedRDTSC();
|
||||||
auto const& caps = Common::g_cpu_caps;
|
auto const& caps = Common::g_cpu_caps;
|
||||||
auto const ns_ratio = std::max<u64>(1, caps.tsc_frequency / 1'000);
|
auto const ns_ratio = std::max<u64>(1, caps.tsc_frequency / 1'000);
|
||||||
auto const end = start + time.count() * ns_ratio;
|
[[maybe_unused]] auto const end = start + time.count() * ns_ratio;
|
||||||
if (caps.monitorx) {
|
if (caps.monitorx) {
|
||||||
while (true) {
|
while (true) {
|
||||||
// Armed monitor, as per manual, MWAITX must be conditional if the condition isn't satisfied
|
// Armed monitor, as per manual, MWAITX must be conditional if the condition isn't satisfied
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue