internal/trace: fix Sync.ClockSnapshot comment

The old comment said "clocks take in close in time" which was probably
due to rewording this a few times.

Replace the comment with the one of the ClockSnapshot type as there
doesn't seem to be a good reason for using a different wording here.

Change-Id: I6a6a69648c8470c2f45f6f8e728f5dc8b121a82b
Reviewed-on: https://go-review.googlesource.com/c/go/+/694620
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
Felix Geisendörfer 2025-08-11 08:33:05 +02:00 committed by Gopher Robot
parent 8e317da77d
commit f63e12d0e0

View file

@ -690,9 +690,11 @@ type Sync struct {
// N indicates that this is the Nth sync event in the trace. // N indicates that this is the Nth sync event in the trace.
N int N int
// ClockSnapshot is a snapshot of different clocks taken in close in time // ClockSnapshot represents a near-simultaneous clock reading of several
// that can be used to correlate trace events with data captured by other // different system clocks. The snapshot can be used as a reference to
// tools. May be nil for older trace versions. // convert timestamps to different clocks, which is helpful for correlating
// timestamps with data captured by other tools. The value is nil for traces
// before go1.25.
ClockSnapshot *ClockSnapshot ClockSnapshot *ClockSnapshot
// ExperimentalBatches contain all the unparsed batches of data for a given experiment. // ExperimentalBatches contain all the unparsed batches of data for a given experiment.