Documentation ¶
Overview ¶
Internal package with research functions that are used for testing.
Index ¶
- func CalcIntervalQuantities(relativeTimes []time.Duration, intervalsQuantity int, interval time.Duration) ([]qot.QuantityOverTime, time.Duration)
- func CalcRelativeDeviations(relativeTimes []time.Duration, expected time.Duration) map[int]int
- func CalcTotalDuration(durations []time.Duration) time.Duration
- func ConvertQuantityOverTimeToBarEcharts(quantities []qot.QuantityOverTime) ([]chartsopts.BarData, []int)
- func ConvertRelativeDeviationsToBarEcharts(deviations map[int]int) ([]chartsopts.BarData, []int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcIntervalQuantities ¶
func CalcRelativeDeviations ¶
func CalcTotalDuration ¶ added in v2.0.7
func ConvertQuantityOverTimeToBarEcharts ¶
func ConvertQuantityOverTimeToBarEcharts( quantities []qot.QuantityOverTime, ) ([]chartsopts.BarData, []int)
func ConvertRelativeDeviationsToBarEcharts ¶
func ConvertRelativeDeviationsToBarEcharts( deviations map[int]int, ) ([]chartsopts.BarData, []int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.