* Compare *bpf_ktime_get_ns* in userspace
@ 2020-04-01 14:18 Gaul, Maximilian
0 siblings, 0 replies; only message in thread
From: Gaul, Maximilian @ 2020-04-01 14:18 UTC (permalink / raw)
I was just wondering whether there is a way to make the timestamp received in XDP/BPF via *bpf_ktime_get_ns* comparable with the usual functions in user-space such as *clock_gettime(CLOCK_MONOTONIC, &t);*?
Unfortunately, *ktime_get_ns* is defined as the time since system boot, but as far as I know, there is no way in user-space to determine the time since system boot any finer than in seconds.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-01 14:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 14:18 Compare *bpf_ktime_get_ns* in userspace Gaul, Maximilian
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).