瀏覽代碼

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 8 年之前
父節點
當前提交
f213286a00
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      internal/report/report.go

+ 1
- 1
internal/report/report.go 查看文件

@@ -826,7 +826,7 @@ func reportLabels(rpt *Report, g *graph.Graph, origCount, droppedNodes, droppedE
826 826
 				rpt.formatValue(abs64(int64(float64(rpt.total)*edgeFraction)))))
827 827
 		}
828 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 830
 				nodeCount, origCount,
831 831
 				rpt.formatValue(g.Nodes[len(g.Nodes)-1].Cum)))
832 832
 		}