aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/cpu_id.h
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /util/system/cpu_id.h
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/cpu_id.h')
-rw-r--r--util/system/cpu_id.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/cpu_id.h b/util/system/cpu_id.h
index 3c49e728a7..5f30c415c1 100644
--- a/util/system/cpu_id.h
+++ b/util/system/cpu_id.h
@@ -75,13 +75,13 @@ namespace NX86 {
/**
* returns false on non-x86 platforms
*/
- bool CpuId(ui32 op, ui32 res[4]) noexcept;
- bool CpuId(ui32 op, ui32 subOp, ui32 res[4]) noexcept;
-
+ bool CpuId(ui32 op, ui32 res[4]) noexcept;
+ bool CpuId(ui32 op, ui32 subOp, ui32 res[4]) noexcept;
+
#define Y_DEF_NAME(X) Y_CONST_FUNCTION bool Have##X() noexcept;
Y_CPU_ID_ENUMERATE(Y_DEF_NAME)
#undef Y_DEF_NAME
-
+
#define Y_DEF_NAME(X) Y_CONST_FUNCTION bool CachedHave##X() noexcept;
Y_CPU_ID_ENUMERATE_OUTLINED_CACHED_DEFINE(Y_DEF_NAME)
#undef Y_DEF_NAME
@@ -154,4 +154,4 @@ namespace NX86 {
}
-const char* CpuBrand(ui32 store[12]) noexcept;
+const char* CpuBrand(ui32 store[12]) noexcept;