Vijay Pai | 9cccb08 | 2015-04-13 13:04:06 -0700 | [diff] [blame] | 1 | /* |
| 2 | * |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 3 | * Copyright 2015 gRPC authors. |
Vijay Pai | 9cccb08 | 2015-04-13 13:04:06 -0700 | [diff] [blame] | 4 | * |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 5 | * 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 Pai | 9cccb08 | 2015-04-13 13:04:06 -0700 | [diff] [blame] | 8 | * |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
Vijay Pai | 9cccb08 | 2015-04-13 13:04:06 -0700 | [diff] [blame] | 10 | * |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 11 | * 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 Pai | 9cccb08 | 2015-04-13 13:04:06 -0700 | [diff] [blame] | 16 | * |
| 17 | */ |
| 18 | |
Craig Tiller | 9a4dddd | 2016-03-25 17:08:13 -0700 | [diff] [blame] | 19 | #ifndef GRPC_CORE_LIB_SUPPORT_TIME_PRECISE_H |
| 20 | #define GRPC_CORE_LIB_SUPPORT_TIME_PRECISE_H |
Vijay Pai | 9cccb08 | 2015-04-13 13:04:06 -0700 | [diff] [blame] | 21 | |
| 22 | #include <grpc/support/time.h> |
Vijay Pai | 9cccb08 | 2015-04-13 13:04:06 -0700 | [diff] [blame] | 23 | |
Yash Tibrewal | ac0c2d9 | 2017-09-20 16:54:00 -0700 | [diff] [blame] | 24 | #ifdef __cplusplus |
| 25 | extern "C" { |
| 26 | #endif |
| 27 | |
Craig Tiller | 504ed59 | 2015-10-08 07:38:43 -0700 | [diff] [blame] | 28 | void gpr_precise_clock_init(void); |
Craig Tiller | baa14a9 | 2017-11-03 09:09:36 -0700 | [diff] [blame] | 29 | void gpr_precise_clock_now(gpr_timespec* clk); |
Vijay Pai | 9cccb08 | 2015-04-13 13:04:06 -0700 | [diff] [blame] | 30 | |
Yash Tibrewal | ac0c2d9 | 2017-09-20 16:54:00 -0700 | [diff] [blame] | 31 | #ifdef __cplusplus |
| 32 | } |
| 33 | #endif |
| 34 | |
Craig Tiller | 9a4dddd | 2016-03-25 17:08:13 -0700 | [diff] [blame] | 35 | #endif /* GRPC_CORE_LIB_SUPPORT_TIME_PRECISE_H */ |