Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 469 for goroutineID (0.22 sec)

  1. src/cmd/trace/goroutines.go

    			ExecTimePercent     string
    			MaxTotal            time.Duration
    			Goroutines          []goroutine
    			NonOverlappingStats []string
    			RangeStats          []string
    		}{
    			Name:                name,
    			N:                   len(goroutines),
    			ExecTimePercent:     execTimePercent,
    			MaxTotal:            maxTotalTime,
    			Goroutines:          goroutines,
    			NonOverlappingStats: allNonOverlappingStats,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/cmd/trace/goroutinegen.go

    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    	if from.Executing() && !to.Executing() {
    		if to == trace.GoWaiting {
    			// Goroutine started blocking.
    			gs.block(ev.Time(), ev.Stack(), st.Reason, ctx)
    		} else {
    			gs.stop(ev.Time(), ev.Stack(), ctx)
    		}
    	}
    	if !from.Executing() && to.Executing() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/internal/trace/summary.go

    	CreationTime Time   // Timestamp of the first appearance in the trace.
    	StartTime    Time   // Timestamp of the first time it started running. 0 if the goroutine never ran.
    	EndTime      Time   // Timestamp of when the goroutine exited. 0 if the goroutine never exited.
    
    	// List of regions in the goroutine, sorted based on the start time.
    	Regions []*UserRegionSummary
    
    	// Statistics of execution time during the goroutine execution.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. src/runtime/preempt.go

    	// readying it when done.
    	stopped bool
    }
    
    // suspendG suspends goroutine gp at a safe-point and returns the
    // state of the suspended goroutine. The caller gets read access to
    // the goroutine until it calls resumeG.
    //
    // It is safe for multiple callers to attempt to suspend the same
    // goroutine at the same time. The goroutine may execute between
    // subsequent successful suspend operations. The current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    }
    
    // ancestorInfo records details of where a goroutine was started.
    type ancestorInfo struct {
    	pcs  []uintptr // pcs from the stack of this goroutine
    	goid uint64    // goroutine id of this goroutine; original goroutine possibly dead
    	gopc uintptr   // pc of go statement that created this goroutine
    }
    
    // A waitReason explains why a goroutine has been stopped.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. src/cmd/trace/jsontrace.go

    	mode      traceviewer.Mode
    	startTime time.Duration
    	endTime   time.Duration
    
    	// Used if mode != 0.
    	focusGoroutine trace.GoID
    	goroutines     map[trace.GoID]struct{} // Goroutines to be displayed for goroutine-oriented or task-oriented view. goroutines[0] is the main goroutine.
    	tasks          []*trace.UserTaskSummary
    }
    
    // setTask sets a task to focus on.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/runtime/extern.go

    	"freezes the world", preempting all threads to stop all running
    	goroutines, which makes it possible to traceback all goroutines, and
    	keeps their state close to the point of panic. Setting
    	dontfreezetheworld=1 disables this preemption, allowing goroutines to
    	continue executing during panic processing. Note that goroutines that
    	naturally enter the scheduler will still stop. This can be useful when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. src/internal/trace/summary_test.go

    				}
    			}
    		}
    
    		// Check goroutines.
    		if len(want.goroutines) != len(summary.Goroutines) {
    			t.Errorf("wanted %d goroutines for task %d, got %d goroutines instead", len(want.goroutines), id, len(summary.Goroutines))
    		} else {
    			for _, goid := range want.goroutines {
    				g, ok := summary.Goroutines[goid]
    				if !ok {
    					t.Errorf("want goroutine %d for task %d, not found", goid, id)
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sync/errgroup/errgroup.go

    		}
    	}()
    	return true
    }
    
    // SetLimit limits the number of active goroutines in this group to at most n.
    // A negative value indicates no limit.
    //
    // Any subsequent call to the Go method will block until it can add an active
    // goroutine without exceeding the configured limit.
    //
    // The limit must not be modified while any goroutines in the group are active.
    func (g *Group) SetLimit(n int) {
    	if n < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/sync/mutex.go

    	}
    }
    
    // Unlock unlocks m.
    // It is a run-time error if m is not locked on entry to Unlock.
    //
    // A locked [Mutex] is not associated with a particular goroutine.
    // It is allowed for one goroutine to lock a Mutex and then
    // arrange for another goroutine to unlock it.
    func (m *Mutex) Unlock() {
    	if race.Enabled {
    		_ = m.state
    		race.Release(unsafe.Pointer(m))
    	}
    
    	// Fast path: drop lock bit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top