Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addMaxRSS (0.08 sec)

  1. src/runtime/pprof/pprof_norusage.go

    // license that can be found in the LICENSE file.
    
    //go:build !unix && !windows
    
    package pprof
    
    import (
    	"io"
    )
    
    // Stub call for platforms that don't support rusage.
    func addMaxRSS(w io.Writer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 309 bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof.go

    	fmt.Fprintf(w, "# NumForcedGC = %d\n", s.NumForcedGC)
    	fmt.Fprintf(w, "# GCCPUFraction = %v\n", s.GCCPUFraction)
    	fmt.Fprintf(w, "# DebugGC = %v\n", s.DebugGC)
    
    	// Also flush out MaxRSS on supported platforms.
    	addMaxRSS(w)
    
    	tw.Flush()
    	return b.Flush()
    }
    
    // countThreadCreate returns the size of the current ThreadCreateProfile.
    func countThreadCreate() int {
    	n, _ := runtime.ThreadCreateProfile(nil)
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top