- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DisableTimestamps (0.46 sec)
-
src/internal/trace/testdata/generators/go122-syscall-steal-proc-self.go
package main import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { t.DisableTimestamps() g := t.Generation(1) // A goroutine execute a syscall and steals its own P, then starts running // on that P. b0 := g.Batch(trace.ThreadID(0), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-ambiguous.go
package main import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { t.DisableTimestamps() g := t.Generation(1) // One goroutine does a syscall without blocking, then another one where // it's P gets stolen. b0 := g.Batch(trace.ThreadID(0), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.5K bytes - Viewed (0) -
src/internal/trace/internal/testgen/go122/trace.go
t.events = append(t.events, t.createEvent(typ, data, args...)) } // DisableTimestamps makes the timestamps for all events generated after // this call zero. Raw events are exempted from this because the caller // has to pass their own timestamp into those events anyway. func (t *Trace) DisableTimestamps() { t.validTimestamps = false } // Generation creates a new trace generation. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 9.7K bytes - Viewed (0)