plotting

package
v1.4.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: NCSA Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Option = OptionModifiers{}

Functions

func NewBatchPlot

func NewBatchPlot(name string, os ...OptionModifier) (*batchPlot, error)

func ReadTraceFile

func ReadTraceFile(path string) ([]model.Span, error)

Types

type EligiblebatchDurationSummaryFilterFunc

type EligiblebatchDurationSummaryFilterFunc func(item batchDurationSummary) bool

type OptionModifier

type OptionModifier func(o *Options)

type OptionModifiers

type OptionModifiers struct{}

func (OptionModifiers) BaseDir

func (o OptionModifiers) BaseDir(dir string) OptionModifier

func (OptionModifiers) BatchSize

func (o OptionModifiers) BatchSize(val int) OptionModifier

func (OptionModifiers) FrameworkName

func (o OptionModifiers) FrameworkName(s string) OptionModifier

func (OptionModifiers) FrameworkVersion

func (o OptionModifiers) FrameworkVersion(s string) OptionModifier

func (OptionModifiers) IgnoreReadErrors

func (o OptionModifiers) IgnoreReadErrors(val bool) OptionModifier

func (OptionModifiers) MachineHostName

func (o OptionModifiers) MachineHostName(hostName string) OptionModifier

func (OptionModifiers) ModelName

func (o OptionModifiers) ModelName(s string) OptionModifier

func (OptionModifiers) ModelVersion

func (o OptionModifiers) ModelVersion(s string) OptionModifier

func (OptionModifiers) UseGPU

func (o OptionModifiers) UseGPU(val bool) OptionModifier

type Options

type Options struct {
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(os ...OptionModifier) *Options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL