Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,946 for Stack0 (0.14 sec)

  1. src/runtime/mprof.go

    		racewriterangepc(unsafe.Pointer(&dst.Stack0[0]), unsafe.Sizeof(dst.Stack0), getcallerpc(), abi.FuncPCABIInternal(MemProfile))
    	}
    	if msanenabled {
    		msanwrite(unsafe.Pointer(&dst.Stack0[0]), unsafe.Sizeof(dst.Stack0))
    	}
    	if asanenabled {
    		asanwrite(unsafe.Pointer(&dst.Stack0[0]), unsafe.Sizeof(dst.Stack0))
    	}
    	i := copy(dst.Stack0[:], src.Stack)
    	clear(dst.Stack0[i:])
    }
    
    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. test/heapsampling.go

    func allocObjects(records []runtime.MemProfileRecord, function string) map[int]allocStat {
    	a := make(map[int]allocStat)
    	for _, r := range records {
    		var pcs []uintptr
    		for _, s := range r.Stack0 {
    			if s == 0 {
    				break
    			}
    			pcs = append(pcs, s)
    		}
    		frames := runtime.CallersFrames(pcs)
    		line := 0
    		for {
    			frame, more := frames.Next()
    			name := frame.Function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    }
    
    type g struct {
    	// Stack parameters.
    	// stack describes the actual stack memory: [stack.lo, stack.hi).
    	// stackguard0 is the stack pointer compared in the Go stack growth prologue.
    	// It is stack.lo+StackGuard normally, but can be StackPreempt to trigger a preemption.
    	// stackguard1 is the stack pointer compared in the //go:systemstack stack growth prologue.
    	// It is stack.lo+StackGuard on g0 and gsignal stacks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    				inlined := (j != len(loc.Line)-1)
    				stack.Sources = append(stack.Sources, getSrc(line, inlined))
    			}
    		}
    
    		leaf := stack.Sources[len(stack.Sources)-1]
    		s.Sources[leaf].Self += value
    		s.Stacks = append(s.Stacks, stack)
    	}
    }
    
    func (s *StackSet) fillPlaces() {
    	for i, stack := range s.Stacks {
    		seenSrcs := map[int]bool{}
    		for j, src := range stack.Sources {
    			if seenSrcs[src] {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

      // listed in places.
      function totalValue(places) {
        const seen = new Set();
        let pos = 0;
        let neg = 0;
        for (const place of places) {
          if (seen.has(place.Stack)) continue; // Do not double-count stacks
          seen.add(place.Stack);
          const stack = stacks.Stacks[place.Stack];
          if (stack.Value < 0) {
    	neg += -stack.Value;
          } else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    		return // error already reported
    	}
    
    	// Make stack data and generate corresponding JSON.
    	stacks := rpt.Stacks()
    	b, err := json.Marshal(stacks)
    	if err != nil {
    		http.Error(w, "error serializing stacks for flame graph",
    			http.StatusInternalServerError)
    		ui.options.UI.PrintErr(err)
    		return
    	}
    
    	nodes := make([]string, len(stacks.Sources))
    	for i, src := range stacks.Sources {
    		nodes[i] = src.FullName
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/runtime/stack.go

    	// allocation.
    	if newsize < fixedStack {
    		return
    	}
    	// Compute how much of the stack is currently in use and only
    	// shrink the stack if gp is using less than a quarter of its
    	// current stack. The currently used stack includes everything
    	// down to the SP plus the stack guard space that ensures
    	// there's room for nosplit functions.
    	avail := gp.stack.hi - gp.stack.lo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.html

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="utf-8">
      <title>{{.Title}}</title>
      {{template "css" .}}
      {{template "stacks_css"}}
    </head>
    <body>
      {{template "header" .}}
      <div id="stack-holder">
        <div id="stack-chart"></div>
        <div id="current-details"></div>
      </div>
      <div id="action-menu" class="submenu">
        <span id="action-title"></span>
        <hr>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.css

    body {
      overflow: hidden; /* Want scrollbar not here, but in #stack-holder */
    }
    /* Scrollable container for flame graph */
    #stack-holder {
      width: 100%;
      flex-grow: 1;
      overflow-y: auto;
      background: #eee; /* Light grey gives better contrast with boxes */
      position: relative; /* Allows absolute positioning of child boxes */
    }
    /* Flame graph */
    #stack-chart {
      width: 100%;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/testprog/stacks.go

    	defer trace.Stop() // in case of early return
    
    	// Now we will do a bunch of things for which we verify stacks later.
    	// It is impossible to ensure that a goroutine has actually blocked
    	// on a channel, in a select or otherwise. So we kick off goroutines
    	// that need to block first in the hope that while we are executing
    	// the rest of the test, they will block.
    	go func() { // func1
    		select {}
    	}()
    	go func() { // func2
    		var c chan int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top