From: Gokul Bargaje <gokulbargaje.182009@nitk.edu.in>
To: users@dpdk.org, dev@dpdk.org
Subject: [dpdk-users] How to get the current timestamp in milliseconds in the DPDK?
Date: Tue, 12 Nov 2019 14:10:23 +0530 [thread overview]
Message-ID: <CAH1-=xiqoAoBju70biDGzGTrrVM3BVq7P8mcY+o9xHd7jdhC0Q@mail.gmail.com> (raw)
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
next reply other threads:[~2019-11-12 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-12 8:40 Gokul Bargaje [this message]
2019-11-12 9:47 ` Archit Pandey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH1-=xiqoAoBju70biDGzGTrrVM3BVq7P8mcY+o9xHd7jdhC0Q@mail.gmail.com' \
--to=gokulbargaje.182009@nitk.edu.in \
--cc=dev@dpdk.org \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).