diff options
| author | 2023-03-28 09:09:35 -0400 | |
|---|---|---|
| committer | 2023-03-28 09:09:35 -0400 | |
| commit | 40efd2ab56c2296da4524085a133021f7731e67f (patch) | |
| tree | a43b51a4056ad7664346a63f145c889da1f59d16 /src/common/x64/cpu_wait.h | |
| parent | Merge pull request #10002 from german77/log (diff) | |
| parent | telemetry: Add waitpkg instruction (diff) | |
| download | yuzu-40efd2ab56c2296da4524085a133021f7731e67f.tar.gz yuzu-40efd2ab56c2296da4524085a133021f7731e67f.tar.xz yuzu-40efd2ab56c2296da4524085a133021f7731e67f.zip | |
Merge pull request #9982 from Morph1984/tpause
x64: Make use of waitpkg instructions for power efficient sleeps
Diffstat (limited to 'src/common/x64/cpu_wait.h')
| -rw-r--r-- | src/common/x64/cpu_wait.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/x64/cpu_wait.h b/src/common/x64/cpu_wait.h new file mode 100644 index 000000000..99d3757a7 --- /dev/null +++ b/src/common/x64/cpu_wait.h | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | // SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | namespace Common::X64 { | ||
| 7 | |||
| 8 | void MicroSleep(); | ||
| 9 | |||
| 10 | } // namespace Common::X64 | ||