cmtime: Add example program that times rdma cm calls
Subsystems (2)
PATCH 1/1 cmtime: Add example program that times rdma cm calls
From: Sean Hefty <[email protected]>
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 <[email protected]>
--- Makefile.am | 4 +- examples/cmtime.c | 498 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 501 insertions(+), 1 deletions(-) create mode 100644 examples/cmtime.c
Makefile.am +3 -1
@@ -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
examples/cmtime.c new file +498 -0
498 lines not on this page · raw message
Signature · 6 lines
1.7.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html