Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for valueOrDot (0.1 sec)

  1. 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)
  2. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			if err != nil {
    				fmt.Fprintf(w, " Error: %v\n", err)
    				continue
    			}
    
    			for _, fn := range fnodes {
    				fmt.Fprintf(w, "%10s %10s %6d:%s\n", valueOrDot(fn.Flat, rpt), valueOrDot(fn.Cum, rpt), fn.Info.Lineno, fn.Info.Name)
    			}
    		}
    	}
    	return nil
    }
    
    // sourcePrinter holds state needed for generating source+asm HTML listing.
    type sourcePrinter struct {
    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