- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for EvEventBatch (0.1 sec)
-
src/internal/trace/testdata/generators/go122-fail-first-gen-first.go
testgen.Main(gen) } func gen(t *testgen.Trace) { // A running goroutine emits a task begin. t.RawEvent(go122.EvEventBatch, nil, 1 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 5 /*batch length*/) t.RawEvent(go122.EvFrequency, nil, 15625000) // A running goroutine emits a task begin. t.RawEvent(go122.EvEventBatch, nil, 1 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 5 /*batch length*/)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.7K bytes - Viewed (0) -
src/internal/trace/batch.go
io.Reader io.ByteReader }) (batch, uint64, error) { // Read batch header byte. b, err := r.ReadByte() if err != nil { return batch{}, 0, err } if typ := event.Type(b); typ != go122.EvEventBatch && typ != go122.EvExperimentalBatch { return batch{}, 0, fmt.Errorf("expected batch event, got %s", go122.EventString(typ)) } // Read the experiment of we have one. exp := event.NoExperiment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.9K bytes - Viewed (0) -
src/internal/trace/event/go122/event.go
// license that can be found in the LICENSE file. package go122 import ( "fmt" "internal/trace/event" ) const ( EvNone event.Type = iota // unused // Structural events. EvEventBatch // start of per-M batch of events [generation, M ID, timestamp, batch length] EvStacks // start of a section of the stack table [...EvStack] EvStack // stack table entry [ID, ...{PC, func string ID, file string ID, line #}]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 14.8K bytes - Viewed (0) -
src/internal/trace/internal/testgen/go122/trace.go
} // writeEventsTo emits events in the batch, including the batch header, to tw. func (b *Batch) writeEventsTo(tw *raw.TextWriter) { tw.WriteEvent(raw.Event{ Version: version.Go122, Ev: go122.EvEventBatch, Args: []uint64{b.gen.gen, uint64(b.thread), uint64(b.timestamp), b.size}, }) for _, e := range b.events { tw.WriteEvent(e) } } // Seq represents a sequence counter. type Seq uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 9.7K bytes - Viewed (0)