Pārlūkot izejas kodu

Removes the cumulative barrier from the label

It is no longer representative of how omissions are made. pprof uses
more than just the cumulative value to make omissions.
Wade Simba Khadder 9 gadus atpakaļ
vecāks
revīzija
f213286a00
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      internal/report/report.go

+ 1
- 1
internal/report/report.go Parādīt failu

826
 				rpt.formatValue(abs64(int64(float64(rpt.total)*edgeFraction)))))
826
 				rpt.formatValue(abs64(int64(float64(rpt.total)*edgeFraction)))))
827
 		}
827
 		}
828
 		if nodeCount > 0 && nodeCount < origCount {
828
 		if nodeCount > 0 && nodeCount < origCount {
829
-			label = append(label, fmt.Sprintf("Showing top %d nodes out of %d (cum >= %s)",
829
+			label = append(label, fmt.Sprintf("Showing top %d nodes out of %d",
830
 				nodeCount, origCount,
830
 				nodeCount, origCount,
831
 				rpt.formatValue(g.Nodes[len(g.Nodes)-1].Cum)))
831
 				rpt.formatValue(g.Nodes[len(g.Nodes)-1].Cum)))
832
 		}
832
 		}