Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FormatValue (0.13 sec)

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

    	}
    
    	label = append(label, fmt.Sprintf("Showing nodes accounting for %s, %s of %s total", rpt.formatValue(flatSum), strings.TrimSpace(measurement.Percentage(flatSum, rpt.total)), rpt.formatValue(rpt.total)))
    
    	if rpt.total != 0 {
    		if droppedNodes > 0 {
    			label = append(label, genLabel(droppedNodes, "node", "cum",
    				rpt.formatValue(abs64(int64(float64(rpt.total)*nodeFraction)))))
    		}
    		if droppedEdges > 0 {
    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/graph/dotgraph.go

    type DotConfig struct {
    	Title     string   // The title of the DOT graph
    	LegendURL string   // The URL to link to from the legend.
    	Labels    []string // The labels for the DOT's legend
    
    	FormatValue func(int64) string // A formatting function for values
    	Total       int64              // The total weight of the graph, used to compute percentages
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			fnodes, _, err := getSourceFromFile(filename, reader, fns, 0, 0)
    			fmt.Fprintf(w, "ROUTINE ======================== %s in %s\n", name, filename)
    			fmt.Fprintf(w, "%10s %10s (flat, cum) %s of Total\n",
    				rpt.formatValue(flatSum), rpt.formatValue(cumSum),
    				measurement.Percentage(cumSum, rpt.total))
    
    			if err != nil {
    				fmt.Fprintf(w, " Error: %v\n", err)
    				continue
    			}
    
    			for _, fn := range fnodes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top