blob: 3befda3d86388e4476df0eb15c56bfbe5f5fb1f1 [file] [log] [blame]
Vijay Pai9cccb082015-04-13 13:04:06 -07001/*
2 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003 * Copyright 2015 gRPC authors.
Vijay Pai9cccb082015-04-13 13:04:06 -07004 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
Vijay Pai9cccb082015-04-13 13:04:06 -07008 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009 * http://www.apache.org/licenses/LICENSE-2.0
Vijay Pai9cccb082015-04-13 13:04:06 -070010 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
Vijay Pai9cccb082015-04-13 13:04:06 -070016 *
17 */
18
Craig Tiller9a4dddd2016-03-25 17:08:13 -070019#ifndef GRPC_CORE_LIB_SUPPORT_TIME_PRECISE_H
20#define GRPC_CORE_LIB_SUPPORT_TIME_PRECISE_H
Vijay Pai9cccb082015-04-13 13:04:06 -070021
22#include <grpc/support/time.h>
Vijay Pai9cccb082015-04-13 13:04:06 -070023
Yash Tibrewalac0c2d92017-09-20 16:54:00 -070024#ifdef __cplusplus
25extern "C" {
26#endif
27
Craig Tiller504ed592015-10-08 07:38:43 -070028void gpr_precise_clock_init(void);
Craig Tillerbaa14a92017-11-03 09:09:36 -070029void gpr_precise_clock_now(gpr_timespec* clk);
Vijay Pai9cccb082015-04-13 13:04:06 -070030
Yash Tibrewalac0c2d92017-09-20 16:54:00 -070031#ifdef __cplusplus
32}
33#endif
34
Craig Tiller9a4dddd2016-03-25 17:08:13 -070035#endif /* GRPC_CORE_LIB_SUPPORT_TIME_PRECISE_H */