Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-25 | Use opaque types to represent time | Tamir Duberstein | |
Introduce tcpip.MonotonicTime; replace int64 in tcpip.Clock method returns with time.Time and MonotonicTime to improve type safety and ensure that monotonic clock readings are never compared to wall clock readings. PiperOrigin-RevId: 375775907 | |||
2021-05-03 | Implement standard clock safely | Ghanan Gowripalan | |
Previously, tcpip.StdClock depended on linking with the unexposed method time.now to implement tcpip.Clock using the time package. This change updates the standard clock to not require manually linking to this unexported method and use publicly documented functions from the time package. PiperOrigin-RevId: 371805101 |