torch: Index | Files

package renderer

import ""


Package Files

flamegraph.go renderer.go

func CollapseStacks Uses

func CollapseStacks(stacks []byte, args ...string) ([]byte, error)

CollapseStacks runs the flamegraph's collapse stacks script.

func GenerateFlameGraph Uses

func GenerateFlameGraph(graphInput []byte, args ...string) ([]byte, error)

GenerateFlameGraph runs the flamegraph script to generate a flame graph SVG.

func ToFlameInput Uses

func ToFlameInput(profile *stack.Profile, sampleIdx int) ([]byte, error)

ToFlameInput converts the given profile to flame graph input.

Package renderer imports 8 packages (graph). Updated 2017-02-12. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).