gpuinfo

package
v0.0.0-...-a595894 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: NCSA Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IsSupported = runtime.GOOS == "linux"
)

Functions

This section is empty.

Types

type Device

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

type System

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

func New

func New() (*System, error)

func (*System) Print

func (m *System) Print()

func (*System) SetOutput

func (m *System) SetOutput(output io.Writer)

func (*System) SetOutputFormat

func (m *System) SetOutputFormat(fmt string)

func (*System) Start

func (m *System) Start(timestep time.Duration) error

func (*System) Stop

func (m *System) Stop()

func (*System) Write

func (m *System) Write(fmt string, output io.Writer) error

Jump to

Keyboard shortcuts

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