Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for io_waiting (0.21 sec)

  1. src/internal/trace/oldtrace.go

    // This file implements conversion from old (Go 1.11–Go 1.21) traces to the Go
    // 1.22 format.
    //
    // Most events have direct equivalents in 1.22, at worst requiring arguments to
    // be reordered. Some events, such as GoWaiting need to look ahead for follow-up
    // events to determine the correct translation. GoSyscall, which is an
    // instantaneous event, gets turned into a 1 ns long pair of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/runtime/runtime-gdb.py

    G_SCANRUNNABLE = G_SCAN+G_RUNNABLE
    G_SCANRUNNING = G_SCAN+G_RUNNING
    G_SCANSYSCALL = G_SCAN+G_SYSCALL
    G_SCANWAITING = G_SCAN+G_WAITING
    
    sts = {
        G_IDLE: 'idle',
        G_RUNNABLE: 'runnable',
        G_RUNNING: 'running',
        G_SYSCALL: 'syscall',
        G_WAITING: 'waiting',
        G_MORIBUND_UNUSED: 'moribund',
        G_DEAD: 'dead',
        G_ENQUEUE_UNUSED: 'enqueue',
        G_COPYSTACK: 'copystack',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. src/internal/trace/summary.go

    				}
    				s.gs[g.ID] = g
    			case GoRunning:
    				// Record execution time as we transition out of running
    				g.ExecTime += ev.Time().Sub(g.lastStartTime)
    				g.lastStartTime = 0
    			case GoWaiting:
    				// Record block time as we transition out of waiting.
    				if g.lastBlockTime != 0 {
    					g.BlockTimeByReason[g.lastBlockReason] += ev.Time().Sub(g.lastBlockTime)
    					g.lastBlockTime = 0
    				}
    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/cmd/trace/pprof.go

    	return makeComputePprofFunc(trace.GoWaiting, func(reason string) bool {
    		return reason == "network"
    	})
    }
    
    // computePprofBlock returns a computePprofFunc that generates blocking pprof-like profile
    // (time spent blocked on synchronization primitives).
    func computePprofBlock() computePprofFunc {
    	return makeComputePprofFunc(trace.GoWaiting, func(reason string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/internal/trace/event.go

    	go122.EvGoroutineStackFree:  EventExperimental,
    	evSync:                      EventSync,
    }
    
    var go122GoStatus2GoState = [...]GoState{
    	go122.GoRunnable: GoRunnable,
    	go122.GoRunning:  GoRunning,
    	go122.GoWaiting:  GoWaiting,
    	go122.GoSyscall:  GoSyscall,
    }
    
    var go122ProcStatus2ProcState = [...]ProcState{
    	go122.ProcRunning:          ProcRunning,
    	go122.ProcIdle:             ProcIdle,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. src/internal/trace/event/go122/event.go

    type GoStatus uint8
    
    const (
    	GoBad GoStatus = iota
    	GoRunnable
    	GoRunning
    	GoSyscall
    	GoWaiting
    )
    
    func (s GoStatus) String() string {
    	switch s {
    	case GoRunnable:
    		return "Runnable"
    	case GoRunning:
    		return "Running"
    	case GoSyscall:
    		return "Syscall"
    	case GoWaiting:
    		return "Waiting"
    	}
    	return "Bad"
    }
    
    type ProcStatus uint8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. src/runtime/traceruntime.go

    }
    
    // GoUnpark emits a GoUnblock event.
    func (tl traceLocker) GoUnpark(gp *g, skip int) {
    	// Emit a GoWaiting status if necessary for the unblocked goroutine.
    	w := tl.eventWriter(traceGoRunning, traceProcRunning)
    	// Careful: don't use the event writer. We never want status or in-progress events
    	// to trigger more in-progress events.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. src/internal/trace/trace_test.go

    				continue
    			}
    			id := st.Resource.Goroutine()
    			state, ok := gs[id]
    			if !ok {
    				continue
    			}
    			_, new := st.Goroutine()
    			switch state {
    			case entered:
    				if new == trace.GoWaiting {
    					state = blocked
    				} else {
    					state = entered
    				}
    			case blocked:
    				if new == trace.GoRunnable {
    					state = runnable
    				} else {
    					state = entered
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

                        condition.signalAll();
                    }
                } finally {
                    lock.unlock();
                }
            }
    
            @VisibleForTesting
            boolean isWaiting() {
                lock.lock();
                try {
                    return waiting > 0;
                } finally {
                    lock.unlock();
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. src/cmd/trace/gstate.go

    	syscall struct {
    		time   trace.Time
    		stack  trace.Stack
    		active bool
    	}
    
    	// startBlockReason is the StateTransition.Reason of the most recent
    	// event that caused a goroutine to transition to GoWaiting.
    	startBlockReason string
    
    	// startCause is the event that allowed this goroutine to start running.
    	// It's used to generate flow events. This is typically something like
    	// an unblock event or a goroutine creation event.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top