ior

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeAvgReadWrite

func ComputeAvgReadWrite(r *Reader) (read *Result, write *Result, err error)

Types

type Reader

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

func NewReader

func NewReader(logs io.Reader) *Reader

func (*Reader) ReadAsResult

func (r *Reader) ReadAsResult() (*Result, error)

type Result

type Result struct {
	// Access is the type of operation (read or write)
	Access string
	// Bandwidth is in MiB/s
	Bandwidth float64
	IOPS      float64
	Latency   float64
	// BlockSize is in KiB
	BlockSize float64
	// TransferSize is in KiB
	TransferSize float64
	// OpenDuration is in seconds
	OpenDuration float64
	// WrRdDuration is in seconds
	WrRdDuration float64
	// CloseDuration is in seconds
	CloseDuration float64
	// TotalDuration is in seconds
	TotalDuration float64
	// Tasks is the number of processes
	Tasks uint64
	// Iteration is the iteration number
	Iteration uint64
}

Jump to

Keyboard shortcuts

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