Documentation ¶
Index ¶
- func ContainerWorkloadToFloatArray(workloads []*core.ContainerWorkloadData) [][]float32
- func GetSortedPositionValue(arr []float32, pos int) float32
- func Partition(arr []float32, l, r int) int
- func RecordToContainerWorkloadData(record []string) (*core.ContainerWorkloadData, error)
- func RecordsToSectionArray(record []string) ([]*core.SectionData, error)
- func SectionDataToFloatArray(sectionData []*core.SectionData) []float32
- func WorkloadDataToStringRecord(data *core.ContainerWorkloadData) []string
- func WriteContainerWorkloadData(out io.Writer, data []*core.ContainerWorkloadData) error
- func WriteContainerWorkloadHeader(out io.Writer) error
- type ReadCounter
- type WriterCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerWorkloadToFloatArray ¶
func ContainerWorkloadToFloatArray(workloads []*core.ContainerWorkloadData) [][]float32
func GetSortedPositionValue ¶
func RecordToContainerWorkloadData ¶
func RecordToContainerWorkloadData(record []string) (*core.ContainerWorkloadData, error)
func RecordsToSectionArray ¶
func RecordsToSectionArray(record []string) ([]*core.SectionData, error)
func SectionDataToFloatArray ¶
func SectionDataToFloatArray(sectionData []*core.SectionData) []float32
func WorkloadDataToStringRecord ¶
func WorkloadDataToStringRecord(data *core.ContainerWorkloadData) []string
func WriteContainerWorkloadData ¶
func WriteContainerWorkloadData(out io.Writer, data []*core.ContainerWorkloadData) error
Types ¶
type ReadCounter ¶
Click to show internal directories.
Click to hide internal directories.