minix/external/bsd/libc++/dist/libcxx/test/utilities/time/clock.h
Lionel Sambuc 4684ddb6aa LLVM Minix changes
- import libcxx
 - reduce targets to the one when compiled as a tools

Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
2014-07-28 17:05:59 +02:00

17 lines
426 B
C++

#ifndef CLOCK_H
#define CLOCK_H
#include <chrono>
class Clock
{
typedef std::chrono::nanoseconds duration;
typedef duration::rep rep;
typedef duration::period period;
typedef std::chrono::time_point<Clock, duration> time_point;
static const bool is_steady = false;
static time_point now();
};
#endif // CLOCK_H