aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support
diff options
context:
space:
mode:
authorGravatar ctiller <ctiller@google.com>2015-01-07 12:13:17 -0800
committerGravatar Nicolas Noble <nnoble@google.com>2015-01-09 17:23:18 -0800
commite4b409364e4c493a66d4b2a6fe897075aa5c174e (patch)
tree29467626f50aea49e072e15004dd141625146709 /src/core/support
parent8232204a36712553b9eedb2dacab13b7c38642c6 (diff)
Add a --forever flag, to continuously run tests as things change.
Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83451760
Diffstat (limited to 'src/core/support')
-rw-r--r--src/core/support/time.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/core/support/time.c b/src/core/support/time.c
index 5330092f56..712bdf441c 100644
--- a/src/core/support/time.c
+++ b/src/core/support/time.c
@@ -249,18 +249,3 @@ gpr_timespec gpr_timespec_from_timeval(struct timeval t) {
ts.tv_nsec = t.tv_usec * 1000;
return ts;
}
-
-gpr_int32 gpr_time_to_millis(gpr_timespec t) {
- if (t.tv_sec >= 2147483) {
- if (t.tv_sec == 2147483 && t.tv_nsec < 648 * GPR_NS_PER_MS) {
- return 2147483 * GPR_MS_PER_SEC + t.tv_nsec / GPR_NS_PER_MS;
- }
- return 2147483647;
- } else if (t.tv_sec <= -2147483) {
- /* TODO(ctiller): correct handling here (it's so far in the past do we
- care?) */
- return -2147483648;
- } else {
- return t.tv_sec * GPR_MS_PER_SEC + t.tv_nsec / GPR_NS_PER_MS;
- }
-}