Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FlatValue (0.12 sec)

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

    	nodeIDMap := make(map[*Node]int)
    	hasNodelets := make(map[*Node]bool)
    
    	maxFlat := float64(abs64(g.Nodes[0].FlatValue()))
    	for i, n := range g.Nodes {
    		nodeIDMap[n] = i + 1
    		if float64(abs64(n.FlatValue())) > maxFlat {
    			maxFlat = float64(abs64(n.FlatValue()))
    		}
    	}
    
    	edges := EdgeMap{}
    
    	// Add nodes and nodelets to DOT builder.
    	for _, n := range g.Nodes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    				fmt.Fprintf(w, "%10s %10s %10x: %s\n",
    					valueOrDot(n.flatValue(), rpt),
    					valueOrDot(n.cumValue(), rpt),
    					n.address, n.instruction,
    				)
    			case len(n.instruction) < 40:
    				// Short instruction, print loc on the same line.
    				fmt.Fprintf(w, "%10s %10s %10x: %-40s;%s\n",
    					valueOrDot(n.flatValue(), rpt),
    					valueOrDot(n.cumValue(), rpt),
    					n.address, n.instruction,
    					locStr,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    	// to, or "" for numeric tags not associated to a label tag.
    	NumericTags map[string]TagMap
    }
    
    // FlatValue returns the exclusive value for this node, computing the
    // mean if a divisor is available.
    func (n *Node) FlatValue() int64 {
    	if n.FlatDiv == 0 {
    		return n.Flat
    	}
    	return n.Flat / n.FlatDiv
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. src/internal/profile/graph.go

    }
    
    // Graph summarizes a performance profile into a format that is
    // suitable for visualization.
    type Graph struct {
    	Nodes Nodes
    }
    
    // FlatValue returns the exclusive value for this node, computing the
    // mean if a divisor is available.
    func (n *Node) FlatValue() int64 {
    	if n.FlatDiv == 0 {
    		return n.Flat
    	}
    	return n.Flat / n.FlatDiv
    }
    
    // CumValue returns the inclusive value for this node, computing the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top