Documentation ¶
Overview ¶
ParseDeepCopy parses the deep copy from the input.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TimeProfileEquals ¶
func TimeProfileEquals(t *testing.T, a *TimeProfile, b *TimeProfile)
func TimeProfileToPprof ¶
func TimeProfileToPprof(deepCopy *TimeProfile, excludeProcessesFromStack bool, excludeThreadsFromStack bool, includeThreadAndProcessIds bool, annotations ProcessAnnotationMap) *profile.Profile
TimeProfileToPprof converts a TimeProfile to a pprof Profile.
Types ¶
type Frame ¶
type Frame struct { Parent *Frame Children []*Frame SelfWeightNs int64 SymbolName string Depth int }
Frame represnets a frame in the stack.
type ProcessAnnotationMap ¶
ProcessAnnotationMap used for renaming the process based on pid.
func (*ProcessAnnotationMap) Set ¶
func (m *ProcessAnnotationMap) Set(value string) error
func (*ProcessAnnotationMap) String ¶
func (m *ProcessAnnotationMap) String() string
type TimeProfile ¶
type TimeProfile struct {
Processes []*Process
}
TimeProfile is a set of processes parsed from the deep copy.
Click to show internal directories.
Click to hide internal directories.