Revert "[libc] Use best-fit binary trie to make malloc logarithmic" (#117065)
[llvm-project.git] / libcxx / test / std / time / clock.h
blob882238ad6fa0670c5432847ef2121b73855d1db8
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-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef CLOCK_H
10 #define CLOCK_H
12 #include <chrono>
14 class Clock
16 typedef std::chrono::nanoseconds duration;
17 typedef duration::rep rep;
18 typedef duration::period period;
19 typedef std::chrono::time_point<Clock, duration> time_point;
20 static const bool is_steady = false;
22 static time_point now();
25 #endif // CLOCK_H