Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for io_waiting (0.19 sec)

  1. cmd/metrics-v2.go

    		Type:      counterMetric,
    	}
    }
    
    func getNodeDriveWaitingIOMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: driveSubsystem,
    		Name:      "io_waiting",
    		Help:      "Total number I/O operations waiting on drive",
    		Type:      counterMetric,
    	}
    }
    
    func getNodeDriveFreeBytesMD() MetricDescription {
    	return MetricDescription{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  2. src/cmd/trace/goroutinegen.go

    	// 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() {
    		start := ev.Time()
    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/cmd/trace/procgen.go

    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    	if from == trace.GoRunning && !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 == trace.GoRunning {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/cmd/trace/viewer.go

    		return traceviewer.GDead
    	case trace.GoNotExist:
    		return traceviewer.GDead
    	case trace.GoRunnable:
    		return traceviewer.GRunnable
    	case trace.GoRunning:
    		return traceviewer.GRunning
    	case trace.GoWaiting:
    		if inMarkAssist {
    			return traceviewer.GWaitingGC
    		}
    		return traceviewer.GWaiting
    	case trace.GoSyscall:
    		// N.B. A goroutine in a syscall is considered "executing" (state.Executing() == true).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/trace/threadgen.go

    	// 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() {
    		start := ev.Time()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. 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)
  7. src/internal/trace/resources.go

    	GoNotExist                    // Goroutine does not exist.
    	GoRunnable                    // Goroutine is runnable but not running.
    	GoRunning                     // Goroutine is running.
    	GoWaiting                     // Goroutine is waiting on something to happen.
    	GoSyscall                     // Goroutine is in a system call.
    )
    
    // Executing returns true if the state indicates that the goroutine is executing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top