From 60298fa95f3bd64beedde8f1f1db7f896f80a7f4 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Thu, 22 Aug 2013 11:52:28 -0700 Subject: [PATCH] refresh (create temporary patch) --- meta | 5 +++-- patches/refresh-temp | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 patches/refresh-temp diff --git a/meta b/meta index 40544169..b575c091 100644 --- a/meta +++ b/meta @@ -1,8 +1,9 @@ Version: 1 -Previous: d482c78c8701aea9f181af2db05c2b551d70042b -Head: c43ffdb365453d6fe9f5261bcc13098b9615b775 +Previous: 88f5b27401159ffff497f7eea44993386d305f93 +Head: d04d4453679e11b2bf2acb53b375f96e506288e0 Applied: cmtime-bind: c43ffdb365453d6fe9f5261bcc13098b9615b775 + refresh-temp: d04d4453679e11b2bf2acb53b375f96e506288e0 Unapplied: shutdown: 358b798ae3566d0803f8e0fcdea9805ad24cb2fe old-af-ib: d71ebf70cf74111cfd5f0982d9abe6ec68fb38e3 diff --git a/patches/refresh-temp b/patches/refresh-temp new file mode 100644 index 00000000..fc266016 --- /dev/null +++ b/patches/refresh-temp @@ -0,0 +1,41 @@ +Bottom: 2c19f63f87fca4a6072bdf2f255fb935db04cff0 +Top: 3773213b5371853cc561f76a6c125ee7961adf4b +Author: Sean Hefty +Date: 2013-08-22 11:52:28 -0700 + +Refresh of cmtime-bind + +--- + +diff --git a/examples/cmtime.c b/examples/cmtime.c +index 5b416af..fb6bb19 100644 +--- a/examples/cmtime.c ++++ b/examples/cmtime.c +@@ -125,6 +125,9 @@ static void show_perf(void) + + printf("step total ms max ms min us us / conn\n"); + for (i = 0; i < STEP_CNT; i++) { ++ if (i == STEP_BIND && !src_addr) ++ continue; ++ + us = diff_us(×[i][1], ×[i][0]); + printf("%-13s: %11.2f%11.2f%11.2f%11.2f\n", step_str[i], us / 1000., + max[i] / 1000., min[i], us / connections); +@@ -351,7 +354,7 @@ static int run_client(void) + conn_param.private_data_len = rai->ai_connect_len; + + if (src_addr) { +- printf("binding source address"); ++ printf("binding source address\n"); + start_time(STEP_BIND); + for (i = 0; i < connections; i++) { + start_perf(&nodes[i], STEP_BIND); +@@ -361,7 +364,7 @@ static int run_client(void) + nodes[i].error = 1; + continue; + } +- stop_perf(&nodes[i], STEP_RESOLVE_ADDR); ++ end_perf(&nodes[i], STEP_BIND); + } + end_time(STEP_BIND); + } -- 2.46.0