Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RemoveNumLabel (0.1 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    			sample.NumUnit = map[string][]string{key: unit}
    		} else {
    			sample.NumUnit[key] = unit
    		}
    	}
    }
    
    // RemoveNumLabel removes all numerical labels associated with the specified key for all
    // samples in the profile.
    func (p *Profile) RemoveNumLabel(key string) {
    	for _, sample := range p.Sample {
    		delete(sample.NumLabel, key)
    		delete(sample.NumUnit, key)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top