Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CPUSample (0.09 sec)

  1. src/internal/trace/base.go

    type extraStringID uint64
    
    // stackID is an index into the stack table for a generation.
    type stackID uint64
    
    // cpuSample represents a CPU profiling sample captured by the trace.
    type cpuSample struct {
    	schedCtx
    	time  Time
    	stack stackID
    }
    
    // asEvent produces a complete Event from a cpuSample. It needs
    // the evTable from the generation that created it.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/internal/trace/reader.go

    type Reader struct {
    	r           *bufio.Reader
    	lastTs      Time
    	gen         *generation
    	spill       *spilledBatch
    	spillErr    error // error from reading spill
    	frontier    []*batchCursor
    	cpuSamples  []cpuSample
    	order       ordering
    	emittedSync bool
    
    	go121Events *oldTraceConverter
    }
    
    // NewReader creates a new trace reader.
    func NewReader(r io.Reader) (*Reader, error) {
    	br := bufio.NewReader(r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top