Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newProfile (0.35 sec)

  1. src/runtime/pprof/pprof.go

    	profiles.mu.Unlock()
    }
    
    // NewProfile creates a new profile with the given name.
    // If a profile with that name already exists, NewProfile panics.
    // The convention is to use a 'import/path.' prefix to create
    // separate name spaces for each package.
    // For compatibility with various tools that read pprof data,
    // profile names should not contain spaces.
    func NewProfile(name string) *Profile {
    	lockProfiles()
    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