Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在互联网上发现了多个(冲突的)来源,关于 System.Nanotime 是否“向后跳跃”
我发现消息来源表明时钟重置不会影响 System.nanotime。但是服务器重启会改变 system.nanotime 吗?System.Nanotime 是否存在向后或向前跳跃的情况?
具体来说:我将使用内部依赖于 nanotime 的 GO 的 Ticker
Go 在 Linux、FreeBSD、OpenBSD、DragonflyBSD 和 Windows 上使用单调定时器。