Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for memprofilerate (0.08 sec)

  1. cmd/utils.go

    		for name, buf := range prof.Records() {
    			if len(buf) > 0 {
    				dst[typ+"-"+name+"."+prof.Extension()] = buf
    			}
    		}
    	}
    	return dst, nil
    }
    
    func setDefaultProfilerRates() {
    	runtime.MemProfileRate = 128 << 10 // 512KB -> 128K - Must be constant throughout application lifetime.
    	runtime.SetMutexProfileFraction(0) // Disable until needed
    	runtime.SetBlockProfileRate(0)     // Disable until needed
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top