Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for sched (0.13 sec)

  1. pkg/scheduler/schedule_one.go

    		if status.IsRejected() {
    			defer sched.SchedulingQueue.MoveAllToActiveOrBackoffQueue(logger, internalqueue.AssignedPodDelete, assumedPod, nil, func(pod *v1.Pod) bool {
    				return assumedPod.UID != pod.UID
    			})
    		} else {
    			sched.SchedulingQueue.MoveAllToActiveOrBackoffQueue(logger, internalqueue.AssignedPodDelete, assumedPod, nil, nil)
    		}
    	}
    
    	sched.FailureHandler(ctx, fwk, podInfo, status, clearNominatedNode, start)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  2. src/time/tick_test.go

    		case <-stop:
    		}
    		close(done1)
    	}()
    	go func() {
    		select {
    		case <-C:
    			done <- true
    		case <-stop:
    		}
    		close(done2)
    	}()
    	Sleep(sched)
    	notDone(done)
    	tim.Reset(sched / 2)
    	Sleep(sched)
    	waitDone(done)
    	tim.Stop()
    	close(stop)
    	waitDone(done1)
    	waitDone(done2)
    	if isTicker {
    		// extra send might have sent done again
    		// (handled by buffering done above).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/server.go

    	go func() {
    		stopCh := server.SetupSignalHandler()
    		<-stopCh
    		cancel()
    	}()
    
    	cc, sched, err := Setup(ctx, opts, registryOptions...)
    	if err != nil {
    		return err
    	}
    	// add feature enablement metrics
    	utilfeature.DefaultMutableFeatureGate.AddMetrics()
    	return Run(ctx, cc, sched)
    }
    
    // Run executes the scheduler based on the given configuration. It only returns on error or when context is done.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/runtime/stack.go

    			"\tmorebuf={pc:", hex(morebuf.pc), " sp:", hex(morebuf.sp), " lr:", hex(morebuf.lr), "}\n",
    			"\tsched={pc:", hex(gp.sched.pc), " sp:", hex(gp.sched.sp), " lr:", hex(gp.sched.lr), " ctxt:", gp.sched.ctxt, "}\n")
    	}
    	if sp < gp.stack.lo {
    		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->status=", hex(readgstatus(gp)), "\n ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  5. pkg/scheduler/scheduler.go

    	registeredHandlers []cache.ResourceEventHandlerRegistration
    }
    
    func (sched *Scheduler) applyDefaultHandlers() {
    	sched.SchedulePod = sched.schedulePod
    	sched.FailureHandler = sched.handleSchedulingFailure
    }
    
    type schedulerOptions struct {
    	componentConfigVersion string
    	kubeConfig             *restclient.Config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K 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