Path: blob/main/contrib/llvm-project/libcxx/include/__chrono/high_resolution_clock.h
35262 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89#ifndef _LIBCPP___CHRONO_HIGH_RESOLUTION_CLOCK_H10#define _LIBCPP___CHRONO_HIGH_RESOLUTION_CLOCK_H1112#include <__chrono/steady_clock.h>13#include <__chrono/system_clock.h>14#include <__config>1516#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)17# pragma GCC system_header18#endif1920_LIBCPP_BEGIN_NAMESPACE_STD2122namespace chrono {2324#ifndef _LIBCPP_HAS_NO_MONOTONIC_CLOCK25typedef steady_clock high_resolution_clock;26#else27typedef system_clock high_resolution_clock;28#endif2930} // namespace chrono3132_LIBCPP_END_NAMESPACE_STD3334#endif // _LIBCPP___CHRONO_HIGH_RESOLUTION_CLOCK_H353637