From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 39D54A04AB for ; Tue, 12 Nov 2019 09:40:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E9922271; Tue, 12 Nov 2019 09:40:36 +0100 (CET) Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) by dpdk.org (Postfix) with ESMTP id 73D6E271 for ; Tue, 12 Nov 2019 09:40:35 +0100 (CET) Received: by mail-il1-f177.google.com with SMTP id u17so9899546ilq.5 for ; Tue, 12 Nov 2019 00:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nitk-edu-in.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=HcXG8kZV0j0TZB4sgdulI0ACJomoReHdJOUT1QjjfXU=; b=kbFebnz6Kt89UWh0vq7p4QyyFdVEwtI54w8U8Bk+sW/7YbVzkMoaC3uqVjpvdnhioj RUcjlUjfmYPZVaCkcMQ1aT/Cdl3fCI9MFa7clk7ygblL6/829Kyf25j59qC3RZ4md2En hrvJ1OlTD8rvrEK0boynBd8sswqY620JIK+tXdyBwn+PGoCgSRfwJO9xB1ta0Erjq0vp DasSyp/NGVXCcOOCHsJiY6N+GPL/+AgLKDNjoBs4tbhQwtCvpoypOtbLMFZkgbRbGr58 lwi6xD5fuyaIWmWIy2bOLJuICh5BUPWSqrv9/SagBpoS9rHGO7xCCI1G1QBH9HPzIrIL ftKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=HcXG8kZV0j0TZB4sgdulI0ACJomoReHdJOUT1QjjfXU=; b=P7YAPCNCa0bsvv3oxpYgE7EXjMfE/v0/gvpStICcnqmrn89Vv2fJ66P5F7hmktgud0 FAVRlzD5Ak8Lu2HVCItdgPDpAXHS6opf7vuYoTv9U3nabwRR5980aP79alGtDhfRoeHT qLRbhyA64wQ+dGsTZUreWCxd0Wxn4EOqc+iPOVn4+PqPRyTBI4GxUcPjzyimbPHUd5kb /cP2bVKsBLK5wrjBD5xOvSx12cr8uEqUl5RLHNXQ2nR2FaO02gPSO1rXlxC9iDvYechR TUC33szIhXh93ffgwbihlYrPs88aTuVK7wN/UUwz6ULytZlBMZqAh9Pwnf1NOORtp+WP zHSw== X-Gm-Message-State: APjAAAUH+dNS53ntgA+XnWZQLbMJ1nh/qH3Zs6pKGiYOAK7q3B7jRM5H DjOgXrVIf4JLvBOBdPcEipecPSzMDxwjHl/3VrLo/X66 X-Google-Smtp-Source: APXvYqxCzSG1/EK1Ih0tFQaJEe1aKLafPumcUmMiuR571dUafkeb5yLqNwZEZOTu/0fC8R/pOfxRZMmhH9MgKU3jTnc= X-Received: by 2002:a92:5d8d:: with SMTP id e13mr34533257ilg.32.1573548034275; Tue, 12 Nov 2019 00:40:34 -0800 (PST) MIME-Version: 1.0 From: Gokul Bargaje Date: Tue, 12 Nov 2019 14:10:23 +0530 Message-ID: To: users@dpdk.org, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] How to get the current timestamp in milliseconds in the DPDK? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Team, Like in Java, there is a method called getTimeInMillis() which returns the current timestamp in milliseconds. I want to know if there's a way to find out timestamp in milliseconds (or in Microseconds) in the C language or in the DPDK? I did some googling and I got the solution which returns the time in seconds but I need time in milliseconds. Thanks, Gokul