Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 70 for sched (0.08 sec)

  1. src/runtime/asm_loong64.s

    	MOVV    R7, 24(R3)
    	JAL	runtime·cgocallbackg(SB)
    
    	// Restore g->sched (== m->curg->sched) from saved values.
    	MOVV	0(R3), R4
    	MOVV	R4, (g_sched+gobuf_pc)(g)
    	MOVV	$(24+8)(R3), R13 // must match frame size
    	MOVV	R13, (g_sched+gobuf_sp)(g)
    
    	// Switch back to m->g0's stack and restore m->g0->sched.sp.
    	// (Unlike m->curg, the g0 goroutine never uses sched.pc,
    	// so we do not have to restore it.)
    	MOVV	g_m(g), R12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. src/runtime/asm_mipsx.s

    	MOVW	R7, 12(R29)
    	JAL	runtime·cgocallbackg(SB)
    
    	// Restore g->sched (== m->curg->sched) from saved values.
    	MOVW	0(R29), R4
    	MOVW	R4, (g_sched+gobuf_pc)(g)
    	MOVW	$(12+4)(R29), R2	// must match frame size
    	MOVW	R2, (g_sched+gobuf_sp)(g)
    
    	// Switch back to m->g0's stack and restore m->g0->sched.sp.
    	// (Unlike m->curg, the g0 goroutine never uses sched.pc,
    	// so we do not have to restore it.)
    	MOVW	g_m(g), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. src/runtime/metrics.go

    				sched.timeToRun.write(out)
    			},
    		},
    		"/sched/pauses/stopping/gc:seconds": {
    			compute: func(_ *statAggregate, out *metricValue) {
    				sched.stwStoppingTimeGC.write(out)
    			},
    		},
    		"/sched/pauses/stopping/other:seconds": {
    			compute: func(_ *statAggregate, out *metricValue) {
    				sched.stwStoppingTimeOther.write(out)
    			},
    		},
    		"/sched/pauses/total/gc:seconds": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. src/runtime/cgocall.go

    	}
    
    	// Do not unwind m->g0->sched.sp.
    	// Our caller, cgocallback, will do that.
    	restore = false
    }
    
    func unwindm(restore *bool) {
    	if *restore {
    		// Restore sp saved by cgocallback during
    		// unwind of g's stack (see comment at top of file).
    		mp := acquirem()
    		sched := &mp.g0.sched
    		sched.sp = *(*uintptr)(unsafe.Pointer(sched.sp + alignUp(sys.MinFrameSize, sys.StackAlign)))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. src/runtime/metrics/doc.go

    		by code called via cgo or via the syscall package. Sum of all
    		metrics in /memory/classes.
    
    	/sched/gomaxprocs:threads
    		The current runtime.GOMAXPROCS setting, or the number of
    		operating system threads that can execute user-level Go code
    		simultaneously.
    
    	/sched/goroutines:goroutines
    		Count of live goroutines.
    
    	/sched/latencies:seconds
    		Distribution of the time goroutines have spent in the scheduler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. src/runtime/mklockrank.go

      forcegc,
      hchan,
      pollDesc, # pollDesc can interact with timers, which can lock sched.
      scavenge,
      sweep,
      sweepWaiters,
      testR,
      wakeableSleep
    # Above SCHED are things that can call into the scheduler.
    < SCHED
    # Below SCHED is the scheduler implementation.
    < allocmR,
      execR;
    allocmR, execR, hchan < sched;
    sched < allg, allp;
    
    # Channels
    NONE < notifyList;
    hchan, notifyList < sudog;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/runtime/asm_arm.s

    	MOVW	R3, 12(R13)
    	BL	runtime·cgocallbackg(SB)
    
    	// Restore g->sched (== m->curg->sched) from saved values.
    	MOVW	0(R13), R5
    	MOVW	R5, (g_sched+gobuf_pc)(g)
    	MOVW	$(12+4)(R13), R4	// must match frame size
    	MOVW	R4, (g_sched+gobuf_sp)(g)
    
    	// Switch back to m->g0's stack and restore m->g0->sched.sp.
    	// (Unlike m->curg, the g0 goroutine never uses sched.pc,
    	// so we do not have to restore it.)
    	MOVW	g_m(g), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  8. src/runtime/asm_ppc64x.s

    	// Restore g->sched (== m->curg->sched) from saved values.
    	MOVD	0(R1), R5
    	MOVD	R5, (g_sched+gobuf_pc)(g)
    	MOVD	$(24+FIXED_FRAME)(R1), R4       // must match frame size
    	MOVD	R4, (g_sched+gobuf_sp)(g)
    
    	// Switch back to m->g0's stack and restore m->g0->sched.sp.
    	// (Unlike m->curg, the g0 goroutine never uses sched.pc,
    	// so we do not have to restore it.)
    	MOVD	g_m(g), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/inittask.go

    		}
    	}
    
    	// Sort edges so we can look them up by edge destination.
    	sort.Slice(edges, func(i, j int) bool {
    		return edges[i].to < edges[j].to
    	})
    
    	// Figure out the schedule.
    	sched := ldr.MakeSymbolBuilder(symName)
    	sched.SetType(sym.SNOPTRDATA) // Could be SRODATA, but see issue 58857.
    	for !h.empty() {
    		// Pick the lexicographically first initializable package.
    		s := h.pop(ldr)
    
    		// Add s to the schedule.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/runtime/tracestack.go

    			// behave like gcallers above, we start unwinding from sched.bp, which
    			// points to the caller frame of the leaf frame on g's stack. The return
    			// address of the leaf frame is stored in sched.pc, which we manually
    			// capture here.
    			//
    			// (2) We're called against a gp that we're not currently executing on, but that isn't
    			// in a syscall, in which case it's currently not executing. gp.sched contains the most
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top