diff options
author | David Garcia Quintas <dgq@google.com> | 2016-03-07 18:19:12 -0800 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-03-07 18:19:12 -0800 |
commit | e1ce31eda3321bb0052416ba47145809a8199f1e (patch) | |
tree | a47309ad10b947c9672485ce7514071ae355a339 /src/core | |
parent | 6848c4e14584e55859018b30390589c418b93358 (diff) |
wip. cq refactored
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/support/time.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/core/support/time.c b/src/core/support/time.c index 423d12ffc0..fec3c7a2c5 100644 --- a/src/core/support/time.c +++ b/src/core/support/time.c @@ -56,30 +56,6 @@ gpr_timespec gpr_time_max(gpr_timespec a, gpr_timespec b) { return gpr_time_cmp(a, b) > 0 ? a : b; } -gpr_timespec gpr_time_0(gpr_clock_type type) { - gpr_timespec out; - out.tv_sec = 0; - out.tv_nsec = 0; - out.clock_type = type; - return out; -} - -gpr_timespec gpr_inf_future(gpr_clock_type type) { - gpr_timespec out; - out.tv_sec = INT64_MAX; - out.tv_nsec = 0; - out.clock_type = type; - return out; -} - -gpr_timespec gpr_inf_past(gpr_clock_type type) { - gpr_timespec out; - out.tv_sec = INT64_MIN; - out.tv_nsec = 0; - out.clock_type = type; - return out; -} - /* TODO(ctiller): consider merging _nanos, _micros, _millis into a single function for maintainability. Similarly for _seconds, _minutes, and _hours */ |