Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for sched (0.05 sec)

  1. src/cmd/compile/internal/staticinit/sched.go

    Cuong Manh Le <******@****.***> 1711753797 +0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. pkg/scheduler/eventhandlers.go

    					return false
    				default:
    					utilruntime.HandleError(fmt.Errorf("unable to handle object in %T: %T", sched, obj))
    					return false
    				}
    			},
    			Handler: cache.ResourceEventHandlerFuncs{
    				AddFunc:    sched.addPodToCache,
    				UpdateFunc: sched.updatePodInCache,
    				DeleteFunc: sched.deletePodFromCache,
    			},
    		},
    	); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/runtime/proc.go

    	// otherwise our help is not required
    	if sched.nmspinning.Load()+sched.npidle.Load() == 0 && sched.nmspinning.CompareAndSwap(0, 1) { // TODO: fast atomic
    		sched.needspinning.Store(0)
    		startm(pp, true, false)
    		return
    	}
    	lock(&sched.lock)
    	if sched.gcwaiting.Load() {
    		pp.status = _Pgcstop
    		pp.gcStopTime = nanotime()
    		sched.stopwait--
    		if sched.stopwait == 0 {
    			notewakeup(&sched.stopnote)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		test.Likely = BranchUnlikely
    
    		// sched:
    		//    mem1 := call resched (mem0)
    		//    goto header
    		resched := f.fe.Syslook("goschedguarded")
    		call := sched.NewValue1A(bb.Pos, OpStaticCall, types.TypeResultMem, StaticAuxCall(resched, bb.Func.ABIDefault.ABIAnalyzeTypes(nil, nil)), mem0)
    		mem1 := sched.NewValue1I(bb.Pos, OpSelectN, types.TypeMem, 0, call)
    		sched.AddEdgeTo(h)
    		headerMemPhi.AddArg(mem1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/runtime/metrics/description.go

    		Kind:        KindUint64,
    	},
    	{
    		Name:        "/sched/gomaxprocs:threads",
    		Description: "The current runtime.GOMAXPROCS setting, or the number of operating system threads that can execute user-level Go code simultaneously.",
    		Kind:        KindUint64,
    	},
    	{
    		Name:        "/sched/goroutines:goroutines",
    		Description: "Count of live goroutines.",
    		Kind:        KindUint64,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top