Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlamebearerToStandaloneHTML ¶ added in v0.8.0
func FlamebearerToStandaloneHTML(fb *FlamebearerProfile, dir http.FileSystem, w io.Writer) error
FlamebearerToStandaloneHTML converts and writes a flamebearer into HTML TODO cache template creation and whatnot?
Types ¶
type FlamebearerMetadataV1 ¶
type FlamebearerProfile ¶
type FlamebearerProfile struct { Version uint `json:"version"` FlamebearerProfileV1 }
FlamebearerProfile is a versioned flambearer based profile. It's the native format both for rendering and file saving (in adhoc mode).
func NewCombinedProfile ¶
func NewCombinedProfile(output, left, right *storage.GetOutput, maxNodes int) FlamebearerProfile
func NewProfile ¶
func NewProfile(output *storage.GetOutput, maxNodes int) FlamebearerProfile
type FlamebearerProfileV1 ¶
type FlamebearerProfileV1 struct { Flamebearer FlamebearerV1 `json:"flamebearer"` Metadata FlamebearerMetadataV1 `json:"metadata"` Timeline *FlamebearerTimelineV1 `json:"timeline"` LeftTicks uint64 `json:"leftTicks,omitempty"` RightTicks uint64 `json:"rightTicks,omitempty"` }
type FlamebearerTimelineV1 ¶
Click to show internal directories.
Click to hide internal directories.