Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stackID (0.19 sec)

  1. src/runtime/mprof.go

    // A StackRecord describes a single execution stack.
    type StackRecord struct {
    	Stack0 [32]uintptr // stack trace for this record; ends at first 0 entry
    }
    
    // Stack returns the stack trace associated with the record,
    // a prefix of r.Stack0.
    func (r *StackRecord) Stack() []uintptr {
    	for i, v := range r.Stack0 {
    		if v == 0 {
    			return r.Stack0[0:i]
    		}
    	}
    	return r.Stack0[0:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. src/runtime/malloc.go

    	_FixAllocChunk = 16 << 10 // Chunk size for FixAlloc
    
    	// Per-P, per order stack segment cache size.
    	_StackCacheSize = 32 * 1024
    
    	// Number of orders that get caching. Order 0 is FixedStack
    	// and each successive order is twice as large.
    	// We want to cache 2KB, 4KB, 8KB, and 16KB stacks. Larger stacks
    	// will be allocated directly.
    	// Since FixedStack is different on different systems, we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top