]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
cmtime: Add example program that times rdma cm calls
authorSean Hefty <sean.hefty@intel.com>
Mon, 5 Aug 2013 17:57:43 +0000 (10:57 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 5 Aug 2013 17:57:43 +0000 (10:57 -0700)
cmtime is a new sample program that measures how long it
takes for each step in the connection process to complete.
It can be used to analyze the performance of the various
CM steps.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Makefile.am

index e1be9f3098d75fd6a585c7de97338ad96e58edc2..4e3dee797765be8797073b770cd75f11c36c996f 100644 (file)
@@ -29,7 +29,7 @@ src_librspreload_la_LIBADD = $(top_builddir)/src/librdmacm.la
 bin_PROGRAMS = examples/ucmatose examples/rping examples/udaddy examples/mckey \
               examples/rdma_client examples/rdma_server examples/rdma_xclient \
               examples/rdma_xserver examples/rstream examples/rcopy \
-              examples/riostream examples/udpong
+              examples/riostream examples/udpong examples/cmtime
 examples_ucmatose_SOURCES = examples/cmatose.c examples/common.c
 examples_ucmatose_LDADD = $(top_builddir)/src/librdmacm.la
 examples_rping_SOURCES = examples/rping.c
@@ -54,6 +54,8 @@ examples_rcopy_SOURCES = examples/rcopy.c
 examples_rcopy_LDADD = $(top_builddir)/src/librdmacm.la
 examples_udpong_SOURCES = examples/udpong.c examples/common.c
 examples_udpong_LDADD = $(top_builddir)/src/librdmacm.la
+examples_cmtime_SOURCES = examples/cmtime.c examples/common.c
+examples_cmtime_LDADD = $(top_builddir)/src/librdmacm.la
 
 librdmacmincludedir = $(includedir)/rdma
 infinibandincludedir = $(includedir)/infiniband