driver

package
v0.0.0-...-5bac6fb Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 22 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadOrWriteSpecificationToFile

func ReadOrWriteSpecificationToFile(functions []*common.Function, writeIATsToFile bool, readIATsFromFile bool)

Writes OR Reads IATs to/from .json files. Performs read or write only if flag set.

Types

type Driver

type Driver struct {
	Configuration          *config.Configuration
	SpecificationGenerator *generator.SpecificationGenerator
	Invoker                clients.Invoker

	AsyncRecords *common.LockFreeQueue[*mc.ExecutionRecord]
	// contains filtered or unexported fields
}

func NewDriver

func NewDriver(driverConfig *config.Configuration) *Driver

func (*Driver) CreateMetricsScrapper

func (d *Driver) CreateMetricsScrapper(interval time.Duration,
	signalReady *sync.WaitGroup, finishCh chan int, allRecordsWritten *sync.WaitGroup) func()

func (*Driver) RunExperiment

func (d *Driver) RunExperiment()

type InvocationMetadata

type InvocationMetadata struct {
	RootFunction *list.List
	Phase        common.ExperimentPhase

	InvocationID string
	IatIndex     int

	SuccessCount        *int64
	FailedCount         *int64
	FunctionsInvoked    *int64
	RecordOutputChannel chan *mc.ExecutionRecord
	AnnounceDoneWG      *sync.WaitGroup
	AnnounceDoneExe     *sync.WaitGroup
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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