Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for sched (0.06 sec)

  1. cmd/kube-scheduler/app/server_test.go

    			ctx, cancel := context.WithCancel(context.Background())
    			defer cancel()
    			_, sched, err := Setup(ctx, opts, tc.registryOptions...)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if tc.wantPlugins != nil {
    				gotPlugins := make(map[string]*config.Plugins)
    				for n, p := range sched.Profiles {
    					gotPlugins[n] = p.ListPlugins()
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/mips/obj0.go

    			if q1 != p {
    				c.sched(q1, q)
    			}
    			for ; p != nil; p = p.Link {
    				if p.Mark&NOSCHED == 0 {
    					break
    				}
    				q = p
    			}
    			p1 = p
    			q1 = p
    			o = 0
    			continue
    		}
    		if p.Mark&(LABEL|SYNC) != 0 {
    			if q1 != p {
    				c.sched(q1, q)
    			}
    			q1 = p
    			o = 1
    		}
    		if p.Mark&(BRANCH|SYNC) != 0 {
    			c.sched(q1, p)
    			q1 = p1
    			o = 0
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  3. src/runtime/traceruntime.go

    // traceThreadDestroy is called when a thread is removed from
    // sched.freem.
    //
    // mp must not be able to emit trace events anymore.
    //
    // sched.lock must be held to synchronize with traceAdvance.
    func traceThreadDestroy(mp *m) {
    	assertLockHeld(&sched.lock)
    
    	// Flush all outstanding buffers to maintain the invariant
    	// that an M only has active buffers while on sched.freem
    	// or allm.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. src/runtime/mstats.go

    	s.ScavengeAssistTime += scavAssistCpu
    	s.ScavengeBgTime += scavBgCpu
    	s.ScavengeTotalTime += scavAssistCpu + scavBgCpu
    
    	// Update total CPU.
    	s.TotalTime = sched.totaltime + (now-sched.procresizetime)*int64(gomaxprocs)
    	s.IdleTime += sched.idleTime.Load()
    
    	// Compute userTime. We compute this indirectly as everything that's not the above.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. src/runtime/mgclimit.go

    		for _, pp := range allp {
    			typ, duration := pp.limiterEvent.consume(now)
    			switch typ {
    			case limiterEventIdleMarkWork:
    				fallthrough
    			case limiterEventIdle:
    				idleTime += duration
    				sched.idleTime.Add(duration)
    			case limiterEventMarkAssist:
    				fallthrough
    			case limiterEventScavengeAssist:
    				assistTime += duration
    			case limiterEventNone:
    				break
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. pkg/scheduler/scheduler_test.go

    			ctx, cancel := context.WithCancel(ctx)
    			defer cancel()
    			sched, err := New(
    				ctx,
    				client,
    				informerFactory,
    				nil,
    				profile.NewRecorderFactory(eventBroadcaster),
    				WithPercentageOfNodesToScore(tt.percentageOfNodesToScoreConfig),
    			)
    			if err != nil {
    				t.Fatalf("Failed to create scheduler: %v", err)
    			}
    			if sched.percentageOfNodesToScore != tt.wantedPercentageOfNodesToScore {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/obj9.go

    		p1 = p->link;
    		o++;
    		if(p->mark & NOSCHED){
    			if(q1 != p){
    				sched(q1, q);
    			}
    			for(; p != nil; p = p->link){
    				if(!(p->mark & NOSCHED))
    					break;
    				q = p;
    			}
    			p1 = p;
    			q1 = p;
    			o = 0;
    			continue;
    		}
    		if(p->mark & (LABEL|SYNC)) {
    			if(q1 != p)
    				sched(q1, q);
    			q1 = p;
    			o = 1;
    		}
    		if(p->mark & (BRANCH|SYNC)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  8. src/cmd/trace/gen.go

    	switch m.Name {
    	case "/memory/classes/heap/objects:bytes":
    		ctx.HeapAlloc(ctx.elapsed(ev.Time()), m.Value.Uint64())
    	case "/gc/heap/goal:bytes":
    		ctx.HeapGoal(ctx.elapsed(ev.Time()), m.Value.Uint64())
    	case "/sched/gomaxprocs:threads":
    		ctx.Gomaxprocs(m.Value.Uint64())
    	}
    }
    
    // procRangeGenerator implements a generic handler for EventRange* events whose Scope.Kind is
    // ResourceProc.
    type procRangeGenerator struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/internal/trace/summary.go

    	RangeTime map[string]time.Duration
    }
    
    func (s GoroutineExecStats) NonOverlappingStats() map[string]time.Duration {
    	stats := map[string]time.Duration{
    		"Execution time":         s.ExecTime,
    		"Sched wait time":        s.SchedWaitTime,
    		"Syscall execution time": s.SyscallTime,
    		"Block time (syscall)":   s.SyscallBlockTime,
    		"Unknown time":           s.UnknownTime(),
    	}
    	for reason, dt := range s.BlockTimeByReason {
    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. pkg/volume/portworx/portworx_util.go

    const (
    	osdMgmtDefaultPort = 9001
    	osdDriverVersion   = "v1"
    	pxdDriverName      = "pxd"
    	pvcClaimLabel      = "pvc"
    	pvcNamespaceLabel  = "namespace"
    	pxServiceName      = "portworx-service"
    	pxDriverName       = "pxd-sched"
    )
    
    type portworxVolumeUtil struct {
    	portworxClient *osdclient.Client
    }
    
    // CreateVolume creates a Portworx volume.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
Back to top