Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SampleTypes (0.28 sec)

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

    	for i, t := range p.SampleType {
    		if t.Type == sampleIndex || t.Type == noInuse {
    			return i, nil
    		}
    	}
    
    	return 0, fmt.Errorf("sample_index %q must be one of: %v", sampleIndex, sampleTypes(p))
    }
    
    func sampleTypes(p *Profile) []string {
    	types := make([]string, len(p.SampleType))
    	for i, t := range p.SampleType {
    		types[i] = t.Type
    	}
    	return types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 19:18:53 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/html/header.html

        </div>
      </div>
    
      {{$sampleLen := len .SampleTypes}}
      {{if gt $sampleLen 1}}
      <div id="sample" class="menu-item">
        <div class="menu-name">
          Sample
          <i class="downArrow"></i>
        </div>
        <div class="submenu">
          {{range .SampleTypes}}
          <a href="?si={{.}}" id="sampletype-{{.}}">{{.}}</a>
          {{end}}
        </div>
      </div>
      {{end}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go

    	// Enter command processing loop.
    	o.UI.SetAutoComplete(newCompleter(functionNames(p)))
    	configure("compact_labels", "true")
    	configHelp["sample_index"] += fmt.Sprintf("Or use sample_index=name, with name in %v.\n", sampleTypes(p))
    
    	// Do not wait for the visualizer to complete, to allow multiple
    	// graphs to be visualized simultaneously.
    	interactiveMode = true
    	shortcuts := profileShortcuts(p)
    
    	copier := makeProfileCopier(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		}
    	}
    	sampleType := make([]*profile.ValueType, numSampleTypes)
    	for i := 0; i < numSampleTypes; i++ {
    		sampleTypes := make([]*profile.ValueType, len(profiles))
    		for j, p := range profiles {
    			sampleTypes[j] = p.SampleType[i]
    		}
    		sampleType[i], err = CommonValueType(sampleTypes)
    		if err != nil {
    			return fmt.Errorf("sample types: %v", err)
    		}
    	}
    
    	for _, p := range profiles {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    func (ui *webInterface) render(w http.ResponseWriter, req *http.Request, tmpl string,
    	rpt *report.Report, errList, legend []string, data webArgs) {
    	data.SampleTypes = sampleTypes(ui.prof)
    	data.Help = ui.help
    	data.Configs = configMenu(ui.settingsFile, *req.URL)
    	html := &bytes.Buffer{}
    	if err := renderHTML(html, tmpl, rpt, errList, legend, data); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

                   'flamegraph',
                   'peek', 'list',
                   'disasm', 'focus', 'ignore', 'hide', 'show', 'show-from'];
      ids.forEach(makeSearchLinkDynamic);
    
      const sampleIDs = [{{range .SampleTypes}}'{{.}}', {{end}}];
      sampleIDs.forEach(setSampleIndexLink);
    
      // Bind action to button with specified id.
      function addAction(id, action) {
        const btn = document.getElementById(id);
        if (btn != null) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top