From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] test: provide performance difference ratio and test time Date: Tue, 07 Nov 2017 18:20:10 +0100 Message-ID: <1687163.1yR7dAqtFt@xps> References: <1508915626-21407-1-git-send-email-herbert.guan@arm.com> <20171026062338.GA14312@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Jianbo Liu , bruce.richardson@intel.com, konstantin.ananyev@intel.com, phil.yang@arm.com To: Herbert Guan Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id A4B031B339 for ; Tue, 7 Nov 2017 18:20:11 +0100 (CET) In-Reply-To: <20171026062338.GA14312@arm.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 26/10/2017 08:23, Jianbo Liu: > The 10/25/2017 15:13, Herbert Guan wrote: > > The printed time values presented in TSC is not straight forward > > showing the performance difference. And if the high resolution > > counter is not enabled, time value is too small to show the actual > > performance (e.g. "1 - 1" seems the same but in fact the perfomance > > diffs by 50% or more). > > With the performance difference ratio caculated and printed, it'll be > > easier for people to read and compare the performance between > > rte_memcpy() and memcpy(). > > Since the TSC values' units may diff a lot on different platforms, > > the total execution time of aligned/unaligned memcpy test are > > provided to allow comparation between platforms. > > > > Signed-off-by: Herbert Guan > > Acked-by: Jianbo Liu Applied, thanks