Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for dataTable (0.56 sec)

  1. src/internal/trace/base.go

    }
    
    // evTable contains the per-generation data necessary to
    // interpret an individual event.
    type evTable struct {
    	freq    frequency
    	strings dataTable[stringID, string]
    	stacks  dataTable[stackID, stack]
    	pcs     map[uint64]frame
    
    	// extraStrings are strings that get generated during
    	// parsing but haven't come directly from the trace, so
    	// they don't appear in strings.
    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/generation.go

    	}
    	return nil
    }
    
    // validateStackStrings makes sure all the string references in
    // the stack table are present in the string table.
    func validateStackStrings(
    	stacks *dataTable[stackID, stack],
    	strings *dataTable[stringID, string],
    	frames map[uint64]frame,
    ) error {
    	var err error
    	stacks.forEach(func(id stackID, stk stack) bool {
    		for _, pc := range stk.pcs {
    			frame, ok := frames[pc]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/internal/trace/oldtrace.go

    	it.tasks = make(map[TaskID]taskState)
    	it.seenProcs = make(map[ProcID]struct{})
    	it.procMs = make(map[ProcID]ThreadID)
    	it.lastTs = -1
    
    	evt := it.evt
    
    	// Convert from oldtracer's Strings map to our dataTable.
    	var max uint64
    	for id, s := range pr.Strings {
    		evt.strings.insert(stringID(id), s)
    		if id > max {
    			max = id
    		}
    	}
    	pr.Strings = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top