Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for scheduler (1.04 sec)

  1. src/cmd/trace/doc.go

    	go tool trace -pprof=TYPE trace.out > TYPE.pprof
    
    Supported profile types are:
      - net: network blocking profile
      - sync: synchronization blocking profile
      - syscall: syscall blocking profile
      - sched: scheduler latency profile
    
    Then, you can use the pprof tool to analyze the profile:
    
    	go tool pprof TYPE.pprof
    
    Note that while the various profiles available when launching
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/reproduciblebuilds_test.go

    			}
    			defer os.Remove(tmp.Name())
    			defer tmp.Close()
    			for i := 0; i < iters; i++ {
    				// Note: use -c 2 to expose any nondeterminism which is the result
    				// of the runtime scheduler.
    				out, err := testenv.Command(t, testenv.GoToolPath(t), "tool", "compile", "-p=p", "-c", "2", "-o", tmp.Name(), filepath.Join("testdata", "reproducible", test)).CombinedOutput()
    				if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/tuple.go

    // and SelectN ops) are in the same block as their tuple generator. The
    // function also ensures that there are no duplicate tuple selectors.
    // These properties are expected by the scheduler but may not have
    // been maintained by the optimization pipeline up to this point.
    //
    // See issues 16741 and 39472.
    func tightenTupleSelectors(f *Func) {
    	selectors := make(map[struct {
    		id    ID
    		which int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 02:52:33 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. src/cmd/trace/pprof.go

    	return makeComputePprofFunc(trace.GoSyscall, func(_ string) bool {
    		return true
    	})
    }
    
    // computePprofSched returns a computePprofFunc that generates a scheduler latency pprof-like profile
    // (time between a goroutine become runnable and actually scheduled for execution).
    func computePprofSched() computePprofFunc {
    	return makeComputePprofFunc(trace.GoRunnable, func(_ string) bool {
    		return true
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/deadcode.go

    		// 1: x = (Copy y)
    		//    y = (Add x 1)
    		//    goto 1
    		// (Phi y) refers to the *previous* value of y, whereas
    		// (Copy y) refers to the *current* value of y.
    		// The modified code has a cycle and the scheduler
    		// will barf on it.
    		//
    		// Fortunately, this situation can only happen for dead
    		// code loops. We know the code we're working with is
    		// not dead, so we're ok.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. src/cmd/trace/regions.go

    	</tr>
    	<tr>
    		<td>Syscall profile:</td>
    		<td> <a href="/regionsyscall?{{$p}}">graph</a> <a href="/regionsyscall?{{$p}}&raw=1" download="syscall.profile">(download)</a></td>
    	</tr>
    	<tr>
    		<td>Scheduler wait profile:</td>
    		<td> <a href="/regionsched?{{$p}}">graph</a> <a href="/regionsched?{{$p}}&raw=1" download="sched.profile">(download)</a></td>
    	</tr>
    </table>
    {{ end }}
    
    <h3 id="breakdown">Breakdown</h3>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go

    		{name: "FPFlagTrue", argLength: 1, reg: readflags},  // bool, true if FP flag is true
    		{name: "FPFlagFalse", argLength: 1, reg: readflags}, // bool, true if FP flag is false
    
    		// Scheduler ensures LoweredGetClosurePtr occurs only in entry block,
    		// and sorts it to the very beginning of the block to prevent other
    		// use of R22 (loong64.REGCTXT, the closure pointer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:19 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/MIPS64Ops.go

    		{name: "FPFlagTrue", argLength: 1, reg: readflags},  // bool, true if FP flag is true
    		{name: "FPFlagFalse", argLength: 1, reg: readflags}, // bool, true if FP flag is false
    
    		// Scheduler ensures LoweredGetClosurePtr occurs only in entry block,
    		// and sorts it to the very beginning of the block to prevent other
    		// use of R22 (mips.REGCTXT, the closure pointer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 03:36:31 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/schedule.go

    		return true
    	}
    	return false
    }
    
    // Schedule the Values in each Block. After this phase returns, the
    // order of b.Values matters and is the order in which those values
    // will appear in the assembly output. For now it generates a
    // reasonable valid schedule using a priority queue. TODO(khr):
    // schedule smarter.
    func schedule(f *Func) {
    	// reusable priority queue
    	priq := new(ValHeap)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top