2018-12-31 22:04:05 +03:00
|
|
|
//
|
2023-01-01 00:28:08 +03:00
|
|
|
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023
|
2018-12-31 22:04:05 +03:00
|
|
|
//
|
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
//
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace td {
|
|
|
|
|
2020-04-08 02:39:51 +03:00
|
|
|
struct Clocks {
|
|
|
|
static double monotonic();
|
2018-02-12 11:40:52 +03:00
|
|
|
|
2020-04-08 02:39:51 +03:00
|
|
|
static double system();
|
2020-04-08 20:47:14 +03:00
|
|
|
|
|
|
|
static int tz_offset();
|
2018-12-31 22:04:05 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace td
|