Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 99 for sched (0.15 sec)

  1. src/runtime/asm_mips64x.s

    	MOVV	R7, 24(R29)
    	JAL	runtime·cgocallbackg(SB)
    
    	// Restore g->sched (== m->curg->sched) from saved values.
    	MOVV	0(R29), R4
    	MOVV	R4, (g_sched+gobuf_pc)(g)
    	MOVV	$(24+8)(R29), R2	// must match frame size
    	MOVV	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.)
    	MOVV	g_m(g), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  2. src/runtime/debug.go

    // This call will go away when the scheduler improves.
    func GOMAXPROCS(n int) int {
    	if GOARCH == "wasm" && n > 1 {
    		n = 1 // WebAssembly has no threads yet, so only one CPU is possible.
    	}
    
    	lock(&sched.lock)
    	ret := int(gomaxprocs)
    	unlock(&sched.lock)
    	if n <= 0 || n == ret {
    		return ret
    	}
    
    	stw := stopTheWorldGC(stwGOMAXPROCS)
    
    	// newprocs will be processed by startTheWorld
    	newprocs = int32(n)
    
    	startTheWorldGC(stw)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/runtime/asm_riscv64.s

    	MOV	X9, 24(X2)
    	CALL	runtime·cgocallbackg(SB)
    
    	// Restore g->sched (== m->curg->sched) from saved values.
    	MOV	0(X2), X7
    	MOV	X7, (g_sched+gobuf_pc)(g)
    	MOV	$(24+8)(X2), X6		// must match frame size
    	MOV	X6, (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.)
    	MOV	g_m(g), X5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  4. src/runtime/asm_s390x.s

    	MOVD	R3, 24(R15)
    	BL	runtime·cgocallbackg(SB)
    
    	// Restore g->sched (== m->curg->sched) from saved values.
    	MOVD	0(R15), R5
    	MOVD	R5, (g_sched+gobuf_pc)(g)
    	MOVD	$(24+8)(R15), 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: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/helpers_linux.go

    	// 100000 microseconds is equivalent to 100ms
    	quotaPeriod = 100000
    	// 1000 microseconds is equivalent to 1ms
    	// defined here:
    	// https://github.com/torvalds/linux/blob/cac03ac368fabff0122853de2422d4e17a32de08/kernel/sched/core.c#L10546
    	minQuotaPeriod = 1000
    )
    
    // milliCPUToQuota converts milliCPU to CFS quota and period values
    // Input parameters and resulting value is number of microseconds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top