]> Cypherpunks repositories - gostls13.git/commit
runtime: ensure at least 1 tick between events
authorMeng Zhuo <mzh@golangcn.org>
Mon, 20 Sep 2021 12:44:50 +0000 (20:44 +0800)
committerMeng Zhuo <mzh@golangcn.org>
Tue, 19 Oct 2021 07:45:46 +0000 (07:45 +0000)
commitee92daae25029882979eb694bd7246491e364d3c
treeb51399dcf9c58e55b83d4a034772cd4096a5c228
parent8838a3b53fccc7b3aa83312326bfd38bcb8f2281
runtime: ensure at least 1 tick between events

ticks might be same after tick division, although the real cputicks
is linear growth

Fixes #46737

Change-Id: I1d98866fbf21b426c6c1c96cc9cf802d7f440f18
Reviewed-on: https://go-review.googlesource.com/c/go/+/330849
Trust: Meng Zhuo <mzh@golangcn.org>
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Meng Zhuo <mzh@golangcn.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/trace.go