Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetCPUProfileRate (0.25 sec)

  1. src/runtime/proc.go

    			}
    			mp = gp.m
    			pp = gp.m.p.ptr()
    		}
    		traceCPUSample(gprof, mp, pp, stk[:n])
    	}
    	getg().m.mallocing--
    }
    
    // setcpuprofilerate sets the CPU profiling rate to hz times per second.
    // If hz <= 0, setcpuprofilerate turns off CPU profiling.
    func setcpuprofilerate(hz int32) {
    	// Force sane arguments.
    	if hz < 0 {
    		hz = 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top