]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Thu, 22 Aug 2013 18:52:28 +0000 (11:52 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 22 Aug 2013 18:52:28 +0000 (11:52 -0700)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index 40544169018e4ba281c63444e49fdfea0ad1e3a9..b575c091a0a4505497ee163c534fdc9de22ea1a2 100644 (file)
--- 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 (file)
index 0000000..fc26601
--- /dev/null
@@ -0,0 +1,41 @@
+Bottom: 2c19f63f87fca4a6072bdf2f255fb935db04cff0
+Top:    3773213b5371853cc561f76a6c125ee7961adf4b
+Author: Sean Hefty <sean.hefty@intel.com>
+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(&times[i][1], &times[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);
+       }