Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for disableMemoryProfiling (0.57 sec)

  1. src/runtime/mprof.go

    // possible in the execution of the program (for example,
    // at the beginning of main).
    var MemProfileRate int = 512 * 1024
    
    // disableMemoryProfiling is set by the linker if runtime.MemProfile
    // is not used and the link type guarantees nobody else could use it
    // elsewhere.
    var disableMemoryProfiling bool
    
    // A MemProfileRecord describes the live objects allocated
    // by a particular call sequence (stack trace).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    			sb2.SetType(sym.SDATA)
    			sb2.SetSize(0)
    			if buildcfg.GOARM.SoftFloat {
    				sb2.AddUint8(1)
    			} else {
    				sb2.AddUint8(0)
    			}
    		}
    
    		// Set runtime.disableMemoryProfiling bool if
    		// runtime.MemProfile is not retained in the binary after
    		// deadcode (and we're not dynamically linking).
    		memProfile := ctxt.loader.Lookup("runtime.MemProfile", abiInternalVer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top