From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CC5E5A054F; Mon, 1 Mar 2021 23:36:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63E3F4069E; Mon, 1 Mar 2021 23:36:04 +0100 (CET) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id A03E040041 for ; Mon, 1 Mar 2021 23:36:02 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id n22so627035wmc.2 for ; Mon, 01 Mar 2021 14:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mayadata-io.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=D/TwvP7f/jfdqCiCXr5jqRRWr/gYOXY4Jz9phlrLrE0=; b=xv+uLjGURuYE6+++HRO8wD397QDzmAfgYgKvcons2JmUEUJisHPSb8Vy/j1nvEoT/f yET/H+eRVpgL+z0RRNO0wegYBs6A1/rovLxM4gd4UBCacm79XjH/ctx73HP/HlO7dx60 KJYVqjLUY08n/B6247+T8AaQF9nDfaJz+KocR3rEZLkFiWkboosuRZgGw1nYuGk+D7dg ZiPdh2Vh/tbSdW6C7EOC56fi3ym3J/W3eRSItEs3qNTJA+BDFsW34ooWF4igOOFl5FvC cYBmwtH4C0gfBJ4FqgFHZR/NvBMMbDMPcZb0x3m+SAx6zKc1DNULe6TkF6USLWtu5Z8Y 7gFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=D/TwvP7f/jfdqCiCXr5jqRRWr/gYOXY4Jz9phlrLrE0=; b=Pjl9RuX34r0h9BweH0LGgs5xZNHWhaJ794lMRNQcruQwGexIhZazJRPdWHjnmCjlZk bITU9E4yn87wSz1qnEs7Jex/YNqkXPQMGB+LADKCpYq/PUKhau2M1/cyi4pIt9INus+d IVO5i+5cWxjISCqvHVP4aHEwbPLxp331UUTR2PQFRMEekzYayAQAjuxmlxZpuQHIS3vM HFJYcVjlDWUORmpr0qwzqMRdN5uuBUDA20hboPPHq14sd0sLQMF6tY9+tnFm4Z9sj8mZ I0rDcgYnKdt24EM6JOGdRP+OBfgsFsyrIn+C6lNqgooZriKhZkJ/esJfZ3ZQPGS2w7ZS YF0Q== X-Gm-Message-State: AOAM531FP59QESzwvc58JfzlpyoH3IWqtYAZ8zVtgg/aFiu3W91pgEDu pRgZ/E+CN8Mr06+EuTY357Ey5Q== X-Google-Smtp-Source: ABdhPJwP8Y2INoNhbE0NP68lWI8G+ostES0jFfW1XG0975ULNaUz360xO368mlLhxoKgOdhFXjR6IQ== X-Received: by 2002:a1c:1dd4:: with SMTP id d203mr890759wmd.83.1614638162390; Mon, 01 Mar 2021 14:36:02 -0800 (PST) Received: from [192.168.0.33] (cpc98320-croy25-2-0-cust77.19-2.cable.virginm.net. [80.235.134.78]) by smtp.gmail.com with ESMTPSA id f14sm631690wmf.7.2021.03.01.14.36.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Mar 2021 14:36:02 -0800 (PST) From: Nick Connolly X-Google-Original-From: Nick Connolly To: Dmitry Kozlyuk , dev@dpdk.org Cc: Tyler Retzlaff , Mike Wells , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , Ray Kinsella , Neil Horman References: <20210214012013.23165-1-dmitry.kozliuk@gmail.com> <20210214012013.23165-2-dmitry.kozliuk@gmail.com> <0530e805-cee2-676a-7967-a97926972cec@mayadata.io> Message-ID: <2fe9f67e-07c2-bf5a-e36c-e53d3d4404a4@mayadata.io> Date: Mon, 1 Mar 2021 22:36:00 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <0530e805-cee2-676a-7967-a97926972cec@mayadata.io> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [dpdk-dev] [PATCH 1/6] eal: add internal API for current time X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > Calculation of usec value is incorrect - 'ticks' is not adjusted for > epoch, whereas 'sec' has been, also subtraction has mismatched units - > ticks in 100ns and sec * USEC_PER_SEC in usecs. Ignore - fixed in later version which I hadn't spotted.