Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delta ¶
type Delta struct { // SampleTypes limits the delta calcultion to the given sample types. Other // sample types will retain the values of profile b. The defined sample types // must exist in the profile, otherwise derivation will fail with an error. // If the slice is empty, all sample types are subject to delta profile // derivation. // // The use case for this for this is to deal with the heap profile which // contains alloc and inuse sample types, but delta profiling makes no sense // for the latter. SampleTypes []ValueType }
Delta describes how to compute the delta between two profiles and implements the conversion.
Click to show internal directories.
Click to hide internal directories.