Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for sched (0.14 sec)

  1. src/cmd/trace/main.go

    Go 1.7 does not require the binary argument.
    
    Supported profile types are:
        - net: network blocking profile
        - sync: synchronization blocking profile
        - syscall: syscall blocking profile
        - sched: scheduler latency profile
    
    Flags:
    	-http=addr: HTTP service address (e.g., ':6060')
    	-pprof=type: print a pprof-like profile instead
    	-d=int: print debug info such as parsed events (1 for high-level, 2 for low-level)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/runtime/trace.go

    	// buffers before we snapshotted it to begin with.
    	lock(&sched.lock)
    	mToFlush := allm
    	for mp := mToFlush; mp != nil; mp = mp.alllink {
    		mp.trace.link = mp.alllink
    	}
    	for mp := sched.freem; mp != nil; mp = mp.freelink {
    		mp.trace.link = mToFlush
    		mToFlush = mp
    	}
    	unlock(&sched.lock)
    
    	// Iterate over our snapshot, flushing every buffer until we're done.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  3. src/runtime/mgcmark.go

    // cached stacks around isn't a problem.
    func markrootFreeGStacks() {
    	// Take list of dead Gs with stacks.
    	lock(&sched.gFree.lock)
    	list := sched.gFree.stack
    	sched.gFree.stack = gList{}
    	unlock(&sched.gFree.lock)
    	if list.empty() {
    		return
    	}
    
    	// Free stacks.
    	q := gQueue{list.head, list.head}
    	for gp := list.head.ptr(); gp != nil; gp = gp.schedlink.ptr() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. src/runtime/debugcall.go

    			// transition anymore.
    			trace.GoSched()
    		}
    		casgstatus(gp, _Grunning, _Grunnable)
    		if trace.ok() {
    			traceRelease(trace)
    		}
    		dropg()
    		lock(&sched.lock)
    		globrunqput(gp)
    		unlock(&sched.lock)
    
    		trace = traceAcquire()
    		casgstatus(callingG, _Gwaiting, _Grunnable)
    		if trace.ok() {
    			trace.GoUnpark(callingG, 0)
    			traceRelease(trace)
    		}
    		execute(callingG, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    	_defer    *_defer // innermost defer
    	m         *m      // current m; offset known to arm liblink
    	sched     gobuf
    	syscallsp uintptr // if status==Gsyscall, syscallsp = sched.sp to use during gc
    	syscallpc uintptr // if status==Gsyscall, syscallpc = sched.pc to use during gc
    	syscallbp uintptr // if status==Gsyscall, syscallbp = sched.bp to use in fpTraceback
    	stktopsp  uintptr // expected sp at top of stack, to check in traceback
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. src/runtime/mgc.go

    	lock(&sched.sudoglock)
    	var sg, sgnext *sudog
    	for sg = sched.sudogcache; sg != nil; sg = sgnext {
    		sgnext = sg.next
    		sg.next = nil
    	}
    	sched.sudogcache = nil
    	unlock(&sched.sudoglock)
    
    	// Clear central defer pool.
    	// Leave per-P pools alone, they have strictly bounded size.
    	lock(&sched.deferlock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  7. pkg/scheduler/extender_test.go

    				t.Fatal(err)
    			}
    
    			sched := &Scheduler{
    				Cache:                    cache,
    				nodeInfoSnapshot:         emptySnapshot,
    				percentageOfNodesToScore: schedulerapi.DefaultPercentageOfNodesToScore,
    				Extenders:                extenders,
    				logger:                   logger,
    			}
    			sched.applyDefaultHandlers()
    
    			podIgnored := &v1.Pod{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcshared/testdata/main5.c

    // os/signal.Notify.
    // This is a lot like ../testcarchive/main3.c.
    
    #include <signal.h>
    #include <stdbool.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <sched.h>
    #include <dlfcn.h>
    
    static void die(const char* msg) {
    	perror(msg);
    	exit(EXIT_FAILURE);
    }
    
    static volatile sig_atomic_t sigioSeen;
    
    static void ioHandler(int signo, siginfo_t* info, void* ctxt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/runtime/heapdump.go

    	}
    	return
    }
    
    func dumpgoroutine(gp *g) {
    	var sp, pc, lr uintptr
    	if gp.syscallsp != 0 {
    		sp = gp.syscallsp
    		pc = gp.syscallpc
    		lr = 0
    	} else {
    		sp = gp.sched.sp
    		pc = gp.sched.pc
    		lr = gp.sched.lr
    	}
    
    	dumpint(tagGoroutine)
    	dumpint(uint64(uintptr(unsafe.Pointer(gp))))
    	dumpint(uint64(sp))
    	dumpint(gp.goid)
    	dumpint(uint64(gp.gopc))
    	dumpint(uint64(readgstatus(gp)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/http.go

    <li><a href="/syscall">Syscall profile</a> (<a href="/syscall?raw=1" download="syscall.profile">⬇</a>)</li>
    <li><a href="/sched">Scheduler latency profile</a> (<a href="/sched?raw=1" download="sched.profile">⬇</a>)</li>
    </ul>
    
    <h2>User-defined tasks and regions</h2>
    <p>
      The trace API allows a target program to annotate a <a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top