PacketSourceResolution is an interface for packet data sources that support reporting the timestamp resolution of the aqcuired timestamps. Returned timestamps will always have NanosecondTimestampResolution due to the use of time.Time, but scaling might have occured if acquired timestamps have a diff
| 67 | // to the use of time.Time, but scaling might have occured if acquired |
| 68 | // timestamps have a different resolution. |
| 69 | type PacketSourceResolution interface { |
| 70 | // Resolution returns the timestamp resolution of acquired timestamps before scaling to NanosecondTimestampResolution. |
| 71 | Resolution() TimestampResolution |
| 72 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…