prog

package
v0.0.0-...-2c762cd Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NUMACTL_PROG = "numactl"
)
View Source
const (
	VALGRIND_PROG = "valgrind"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Spec

type Spec struct {
	Program  string
	Args     []string
	BaseName string
	Env      map[string]string
	// contains filtered or unexported fields
}

func NewSpec

func NewSpec(argv []string) *Spec

func (*Spec) ConfigureHugePages

func (spec *Spec) ConfigureHugePages()

func (*Spec) ConfigureNumaCtl

func (p *Spec) ConfigureNumaCtl()

func (*Spec) ConfigureUseMadvise

func (spec *Spec) ConfigureUseMadvise()

func (*Spec) ConfigureValgrind

func (p *Spec) ConfigureValgrind()

func (*Spec) ConfigureVespaMalloc

func (p *Spec) ConfigureVespaMalloc()

func (*Spec) ConsiderEnvFallback

func (spec *Spec) ConsiderEnvFallback(targetVar, fallbackVar string)

func (*Spec) ConsiderFallback

func (spec *Spec) ConsiderFallback(varName, varValue string)

func (*Spec) EffectiveEnv

func (spec *Spec) EffectiveEnv() []string

func (*Spec) Getenv

func (p *Spec) Getenv(k string) string

func (*Spec) MatchesListEnv

func (p *Spec) MatchesListEnv(envVarName string) bool

func (*Spec) Run

func (spec *Spec) Run() error

func (*Spec) Setenv

func (p *Spec) Setenv(k, v string)

func (*Spec) ValueFromListEnv

func (p *Spec) ValueFromListEnv(envVarName string) string

Jump to

Keyboard shortcuts

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