Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 99 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/runtime/traceback.go

    				// gogo's to curg.sched. Match that.
    				// This keeps morestack() from showing up in the backtrace,
    				// but that makes some sense since it'll never be returned
    				// to.
    				gp = gp.m.curg
    				u.g.set(gp)
    				frame.pc = gp.sched.pc
    				frame.fn = findfunc(frame.pc)
    				f = frame.fn
    				flag = f.flag
    				frame.lr = gp.sched.lr
    				frame.sp = gp.sched.sp
    				u.cgoCtxt = len(gp.cgoCtxt) - 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    #include <setjmp.h>
    #include <signal.h>
    #include <stdarg.h>
    #include <stddef.h>
    #include <stdio.h>
    #include <stdint.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/types.h>
    #include <unistd.h>
    #include <sched.h>
    #include <time.h>
    #include <errno.h>
    
    #include "libgo2.h"
    
    static void die(const char* msg) {
    	perror(msg);
    	exit(EXIT_FAILURE);
    }
    
    static volatile sig_atomic_t sigioSeen;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcarchive/testdata/main4.c

    // Test a C thread that calls sigaltstack and then calls Go code.
    
    #include <signal.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <sched.h>
    #include <pthread.h>
    
    #include "libgo4.h"
    
    #ifdef _AIX
    // On AIX, CSIGSTKSZ is too small to handle Go sighandler.
    #define CSIGSTKSZ 0x4000
    #else
    #define CSIGSTKSZ SIGSTKSZ
    #endif
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/tracestatus.go

    func (r *traceSchedResourceState) readyNextGen(gen uintptr) {
    	nextGen := traceNextGen(gen)
    	r.seq[nextGen%2] = 0
    	r.statusTraced[nextGen%3].Store(0)
    }
    
    // statusWasTraced returns true if the sched resource's status was already acquired for tracing.
    func (r *traceSchedResourceState) statusWasTraced(gen uintptr) bool {
    	return r.statusTraced[gen%3].Load() != 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. src/runtime/lock_js.go

    // is running as was running when the call came in from JavaScript, execution can be safely passed back to JavaScript.
    func handleEvent() {
    	sched.idleTime.Add(nanotime() - idleStart)
    
    	e := &event{
    		gp:       getg(),
    		returned: false,
    	}
    	events = append(events, e)
    
    	if !eventHandler() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. 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)
Back to top