diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2023-05-12 21:13:06 +0000 |
|---|---|---|
| committer | Michael Knyszek <mknyszek@google.com> | 2023-05-19 18:01:57 +0000 |
| commit | b60db8f7d92fb2c87b6f416ebb38a6924978aa8c (patch) | |
| tree | 4ea638ba067628daf3340084ae0e247dc63a5b40 /src/cmd/compile/internal/noder/reader.go | |
| parent | dc4993e7c633be8c1d77c7242607cc1e23668d9b (diff) | |
| download | go-b60db8f7d92fb2c87b6f416ebb38a6924978aa8c.tar.xz | |
runtime: formalize the trace clock
Currently the trace clock is cputicks() with comments sprinkled in
different places as to which clock to use. Since the execution tracer
redesign will use a different clock, it seems like a good time to clean
that up.
Also, rename the start/end timestamps to be more readable (i.e.
startTime vs. timeStart).
Change-Id: If43533eddd0e5f68885bb75cdbadb38da42e7584
Reviewed-on: https://go-review.googlesource.com/c/go/+/494775
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/noder/reader.go')
0 files changed, 0 insertions, 0 deletions
