dumpcap: timestamp is years ahead when in pcapng format

Stephen Hemminger stephen at networkplumber.org
Thu Sep 21 17:31:57 CEST 2023


On Thu, 21 Sep 2023 08:14:12 +0300
Isaac Boukris <iboukris at gmail.com> wrote:

> > This is less accurate. The TSC (CPU clock frequency) is not necessarily
> > an even multiple of nanoseconds.
> >
> > If you want to send patches please follow the contributing guidelines
> > and run checkpatch on them.  
> 
> Yeah, I realized that and tried to improve on it by dividing by less
> at init and multiplying by less at run time. However I noticed another
> problem with my patches, that there is a time gap that keeps growing
> for some reason, and I can't figure out what's wrong. I'll try some
> more and will gladly test anything proposed.

All this should be fixed in this patch series.
https://patchwork.dpdk.org/project/dpdk/list/?series=29581


More information about the users mailing list