memoverhead

package
v0.0.0-...-714ef56 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMemoryOverheadConfig

func NewMemoryOverheadConfig(templatedata *firecracker.SimpleTemplateData, templateName string, tempPath string) *testRunnerConfig

func NewMemoryOverheadExecutor

func NewMemoryOverheadExecutor(runner MemoryOverheadRunner, resultpath *string) (*memoryOverheadExecutor, error)

Types

type MemoryOverheadRunner

type MemoryOverheadRunner interface {
	Run(int) (instance, error)
	Stop(instance) error
}

type MemoverheadBaselineRunner

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

func NewBaselineRunner

func NewBaselineRunner(fc *firecracker.FirecrackerClient, config *testRunnerConfig) (MemoverheadBaselineRunner, error)

func (*MemoverheadBaselineRunner) Run

func (r *MemoverheadBaselineRunner) Run(memsize int) (instance, error)

func (*MemoverheadBaselineRunner) Stop

func (r *MemoverheadBaselineRunner) Stop(inst instance) error

type MemoverheadTpmRunner

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

func NewTpmRunner

func NewTpmRunner(fc *firecracker.FirecrackerClient, config *testRunnerConfig, tpmalloc tpmallocator) (MemoverheadTpmRunner, error)

func (*MemoverheadTpmRunner) Run

func (r *MemoverheadTpmRunner) Run(memsize int) (instance, error)

func (*MemoverheadTpmRunner) Stop

func (r *MemoverheadTpmRunner) Stop(inst instance) error

Jump to

Keyboard shortcuts

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