From patchwork Thu Aug 8 23:18:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hefty, Sean" X-Patchwork-Id: 2841463 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 77FB5BF546 for ; Thu, 8 Aug 2013 23:18:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D12120276 for ; Thu, 8 Aug 2013 23:18:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B78F720258 for ; Thu, 8 Aug 2013 23:18:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966511Ab3HHXSL (ORCPT ); Thu, 8 Aug 2013 19:18:11 -0400 Received: from mga09.intel.com ([134.134.136.24]:64078 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966503Ab3HHXSL (ORCPT ); Thu, 8 Aug 2013 19:18:11 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 08 Aug 2013 16:15:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,842,1367996400"; d="scan'208";a="359929469" Received: from cst-linux.jf.intel.com ([10.23.221.72]) by orsmga001.jf.intel.com with ESMTP; 08 Aug 2013 16:18:10 -0700 From: sean.hefty@intel.com To: linux-rdma@vger.kernel.org Cc: Sean Hefty Subject: [PATCH librdmacm] cmtime: Add example program that times rdma cm calls Date: Thu, 8 Aug 2013 16:18:04 -0700 Message-Id: <1376003884-28471-1-git-send-email-sean.hefty@intel.com> X-Mailer: git-send-email 1.7.3 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sean Hefty 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 --- Makefile.am | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index e1be9f3..4e3dee7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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