MCPcopy Index your code
hub / github.com/google/gopacket / Resolution

Method Resolution

pcapgo/ngread.go:601–606  ·  view source on GitHub ↗

Resolution returns the timestamp resolution of acquired timestamps before scaling to NanosecondTimestampResolution.

()

Source from the content-addressed store, hash-verified

599
600// Resolution returns the timestamp resolution of acquired timestamps before scaling to NanosecondTimestampResolution.
601func (r *NgReader) Resolution() gopacket.TimestampResolution {
602 if r.options.WantMixedLinkType {
603 return gopacket.TimestampResolution{}
604 }
605 return r.ifaces[0].Resolution()
606}

Callers

nothing calls this directly

Calls 1

ResolutionMethod · 0.65

Tested by

no test coverage detected