[libc-commits] [libc] [libc][time][windows] implement clock_getres (PR #118931)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Mon Dec 9 16:06:35 PST 2024
================
@@ -0,0 +1,35 @@
+//===--- Cached QPC Frequency ----------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/__support/CPP/atomic.h"
+#include "src/__support/common.h"
+
+#define WIN32_LEAN_AND_MEAN
+#define NOMINMAX
+#include <Windows.h>
+
+namespace LIBC_NAMESPACE_DECL {
+namespace qpc {
----------------
michaelrj-google wrote:
`qpc` isn't an acronym I'm familiar with in this context. I'd recommend expanding it for readability.
https://github.com/llvm/llvm-project/pull/118931
More information about the libc-commits
mailing list