Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stackViewer (0.37 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.html

        <a title="{{.Help.show_from}}" id="action-showfrom" href="?">Show from</a>
      </div>
      {{template "script" .}}
      {{template "stacks_js"}}
      <script>
        pprofUnitDefs = {{.UnitDefs}};
        stackViewer({{.Stacks}}, {{.Nodes}});
      </script>
    </body>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

    // stackViewer displays a flame-graph like view (extended to show callers).
    //   stacks - report.StackSet
    //   nodes  - List of names for each source in report.StackSet
    function stackViewer(stacks, nodes) {
      'use strict';
    
      // Constants used in rendering.
      const ROW = 20;
      const PADDING = 2;
      const MIN_WIDTH = 4;
      const MIN_TEXT_WIDTH = 16;
      const TEXT_MARGIN = 2;
      const FONT_SIZE = 12;
      const MIN_FONT_SIZE = 8;
    
      // Fields
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top