benchmark

package
v0.0.0-...-24b5a56 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:      "bm",
	Usage:     "benchmark a container ",
	ArgsUsage: "COMMAND [arguments...]",
	Action:    benchMark,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:        "id",
			Usage:       "Container ID",
			Destination: &containerID,
		},
		cli.IntFlag{
			Name:        "n",
			Usage:       "Number of Trails",
			Destination: &count,
			Value:       5,
		},
		cli.StringFlag{
			Name:        "dir",
			Usage:       "location of the bundle folder",
			Destination: &bundle,
		},
		cli.StringFlag{
			Name:        "log",
			Usage:       "location of the log file",
			Destination: &logFile,
			Value:       "/containers/log",
		},
		cli.IntFlag{
			Name:        "move",
			Usage:       "0 for no move; 3 for trial 3 & 4 for trial 4",
			Value:       0,
			Destination: &move,
		},
		cli.StringFlag{
			Name:        "other",
			Usage:       "location for move and back",
			Destination: &other,
			Value:       "/coniscsi/",
		},
	},
}

Command the command it self

Functions

func Run

func Run(d int, containerID string, n int, move int, other string) error

Run ..

Types

type Measure

type Measure struct {
	ID                int
	ProcessCount      int
	TaskCount         int
	TotalMemorySize   int
	InRAMSize         int
	SwappedMemorySize int
	CheckpointTime    float64
	Checkpointsize    int
	Restoretime       float64
	CopyFromTime      float64
	CopyTOTime        float64
}

Measure ...

type Measures

type Measures []Measure

Measures ...

Jump to

Keyboard shortcuts

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