Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Hz (0.02 sec)

  1. src/runtime/cpuprof.go

    // SetCPUProfileRate sets the CPU profiling rate to hz samples per second.
    // If hz <= 0, SetCPUProfileRate turns off profiling.
    // If the profiler is on, the rate cannot be changed without first turning it off.
    //
    // Most clients should use the [runtime/pprof] package or
    // the [testing] package's -test.cpuprofile flag instead of calling
    // SetCPUProfileRate directly.
    func SetCPUProfileRate(hz int) {
    	// Clamp hz to something reasonable.
    	if hz < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/runtime/os_openbsd.go

    	*mask &^= 1 << (uint32(i) - 1)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //go:nosplit
    func validSIGPROF(mp *m, c *sigctxt) bool {
    	return true
    }
    
    func osStackAlloc(s *mspan) {
    	osStackRemap(s, _MAP_STACK)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/runtime/os_aix.go

    }
    
    func sigdelset(mask *sigset, i int) {
    	(*mask)[(i-1)/64] &^= 1 << ((uint32(i) - 1) & 63)
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //go:nosplit
    func validSIGPROF(mp *m, c *sigctxt) bool {
    	return true
    }
    
    const (
    	_CLOCK_REALTIME  = 9
    	_CLOCK_MONOTONIC = 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/runtime/os3_plan9.go

    func sigenable(sig uint32) {
    }
    
    func sigdisable(sig uint32) {
    }
    
    func sigignore(sig uint32) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    }
    
    func setThreadCPUProfiler(hz int32) {
    	// TODO: Enable profiling interrupts.
    	getg().m.profilehz = hz
    }
    
    // gsignalStack is unused on Plan 9.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/runtime/os_dragonfly.go

    	mask.__bits[(i-1)/32] &^= 1 << ((uint32(i) - 1) & 31)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //go:nosplit
    func validSIGPROF(mp *m, c *sigctxt) bool {
    	return true
    }
    
    func sysargs(argc int32, argv **byte) {
    	n := argc + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/verify.go

    	}
    	h := string(bytes.TrimSpace(data))
    
    	if zipErr != nil && errors.Is(zipErr, fs.ErrNotExist) {
    		// ok
    	} else {
    		hZ, err := dirhash.HashZip(zip, dirhash.DefaultHash)
    		if err != nil {
    			errs = append(errs, fmt.Errorf("%s %s: %v", mod.Path, mod.Version, err))
    			return errs
    		} else if hZ != h {
    			errs = append(errs, fmt.Errorf("%s %s: zip has been modified (%v)", mod.Path, mod.Version, zip))
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/runtime/os_wasm.go

    }
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    func getfp() uintptr { return 0 }
    
    func setProcessCPUProfiler(hz int32) {}
    func setThreadCPUProfiler(hz int32)  {}
    func sigdisable(uint32)              {}
    func sigenable(uint32)               {}
    func sigignore(uint32)               {}
    
    // Stubs so tests can link correctly. These should never be called.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/runtime/os_freebsd.go

    	mask.__bits[(i-1)/32] &^= 1 << ((uint32(i) - 1) & 31)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //go:nosplit
    func validSIGPROF(mp *m, c *sigctxt) bool {
    	return true
    }
    
    func sysargs(argc int32, argv **byte) {
    	n := argc + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. src/runtime/os_netbsd.go

    	mask.__bits[(i-1)/32] &^= 1 << ((uint32(i) - 1) & 31)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //go:nosplit
    func validSIGPROF(mp *m, c *sigctxt) bool {
    	return true
    }
    
    func sysargs(argc int32, argv **byte) {
    	n := argc + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (MOVHZreg y:(MOV(H|B)Zreg _)) => y // repeat
    (MOVHZreg y:(MOVHBRload _ _)) => y
    
    (MOVHreg y:(MOV(H|B)reg _)) => y // repeat
    
    (MOV(H|HZ)reg y:(MOV(HZ|H)reg x)) => (MOV(H|HZ)reg x)
    
    // W - there are more combinations than these
    
    (MOV(WZ|WZ|WZ|W|W|W)reg y:(MOV(WZ|HZ|BZ|W|H|B)reg _)) => y // repeat
    (MOVWZreg y:(MOV(H|W)BRload _ _)) => y
    
    (MOV(W|WZ)reg y:(MOV(WZ|W)reg x)) => (MOV(W|WZ)reg x)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top