Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for blockProfile (0.15 sec)

  1. src/cmd/go/alldocs.go

    // profile the tests during execution:
    //
    //	-benchmem
    //	    Print memory allocation statistics for benchmarks.
    //	    Allocations made in C or using C.malloc are not counted.
    //
    //	-blockprofile block.out
    //	    Write a goroutine blocking profile to the specified file
    //	    when all tests are complete.
    //	    Writes test binary as -c would.
    //
    //	-blockprofilerate n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    // malloc and runtime locks for mLockProfile.
    // TODO(mknyszek): Implement lazy allocation if this becomes a problem.
    func mProfStackInit(mp *m) {
    	if debug.profstackdepth == 0 {
    		// debug.profstack is set to 0 by the user, or we're being called from
    		// schedinit before parsedebugvars.
    		return
    	}
    	mp.profStack = makeProfStackFP()
    	mp.mLockProfile.stack = makeProfStackFP()
    }
    
    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