modules

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2017 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Modules map[string]Module = map[string]Module{}

Functions

This section is empty.

Types

type CPU

type CPU struct {
	SingleThread CPUStat
	MultiThread  CPUStat
}

func (*CPU) Print

func (stat *CPU) Print()

func (*CPU) Run

func (stat *CPU) Run() error

type CPUStat added in v0.6.1

type CPUStat struct {
	Threads int
	Sha256  float64
	Gzip    float64
	Aes     float64
}

type DevZero added in v0.6.1

type DevZero int

func (DevZero) Read added in v0.6.1

func (z DevZero) Read(b []byte) (n int, err error)

func (DevZero) Write added in v0.6.1

func (z DevZero) Write(b []byte) (n int, err error)

type Disk

type Disk struct {
	Average float64
	Speeds  []float64
}

func (*Disk) Print

func (stat *Disk) Print()

func (*Disk) Run

func (stat *Disk) Run() error

type Geekbench

type Geekbench struct {
	SingleCore int
	MultiCore  int
	URL        string
	ID         int
}

func (*Geekbench) Print

func (stat *Geekbench) Print()

func (*Geekbench) Run

func (stat *Geekbench) Run() error

type Host

type Host struct {
	OS       string
	Platform string
	CPU      string
	Cores    int
	Clock    float64
	RAM      uint64
}

func (*Host) Print

func (stat *Host) Print()

func (*Host) Run

func (stat *Host) Run() error

type Module

type Module interface {
	Run() error
	Print()
}

type Net

type Net map[string]float64

func (*Net) Print

func (stat *Net) Print()

func (*Net) Run

func (stat *Net) Run() error

Jump to

Keyboard shortcuts

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