Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetGot (3.39 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	}
    	if rx != nil && matched == 0 {
    		return fmt.Errorf("no matches found for regexp: %s", rx)
    	}
    	return nil
    }
    
    // GetDOT returns a graph suitable for dot processing along with some
    // configuration information.
    func GetDOT(rpt *Report) (*graph.Graph, *graph.DotConfig) {
    	g, origCount, droppedNodes, droppedEdges := rpt.newTrimmedGraph()
    	rpt.selectOutputUnit(g)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    	rpt, errList := ui.makeReport(w, req, []string{"svg"}, nil)
    	if rpt == nil {
    		return // error already reported
    	}
    
    	// Generate dot graph.
    	g, config := report.GetDOT(rpt)
    	legend := config.Labels
    	config.Labels = nil
    	dot := &bytes.Buffer{}
    	graph.ComposeDot(dot, g, &graph.DotAttributes{}, config)
    
    	// Convert to svg.
    	svg, err := dotToSvg(dot.Bytes())
    	if 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)
Back to top