From d2653df01bc8e46440fcc9ccfa7817b951711265 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 12 May 2011 17:53:21 -0700 Subject: [PATCH] Last but if oio renaming --- test/benchmark-pump.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/benchmark-pump.c b/test/benchmark-pump.c index 004c114d..69773e13 100644 --- a/test/benchmark-pump.c +++ b/test/benchmark-pump.c @@ -85,8 +85,8 @@ static void show_stats(uv_req_t *req, int64_t skew, int status) { /* Exit if the show is over */ if (!--stats_left) { - oio_update_time(); - int64_t diff = oio_now() - start_time; + uv_update_time(); + int64_t diff = uv_now() - start_time; LOGF("pump_%d: %.1f gbit/s\n", read_sockets, gbit(nrecv_total, diff)); @@ -246,8 +246,8 @@ BENCHMARK_IMPL(pump) { r = uv_listen(&server, TARGET_CONNECTIONS, accept_cb); ASSERT(r == 0); - oio_update_time(); - start_time = oio_now(); + uv_update_time(); + start_time = uv_now(); /* Start making connections */ maybe_connect_some();