Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FormatValue (0.09 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/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