xp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Id       string
	Proc     Proc
	Memory   Memory
	Endpoint []Endpoint
}

type Endpoint

type Endpoint struct {
	Ip IP
}

type IP

type IP struct {
	Addrs []string
	Mtu   int
}
type Link struct {
	Devices  []Device
	Capacity xir.Constraint
	Latency  xir.Constraint
	Loss     xir.Constraint
}

type Memory

type Memory struct {
	Capacity xir.Constraint
}

type Network

type Network struct {
	Name    string
	Devices []Device
	Links   []Link
}

type Proc

type Proc struct {
	Isa           xir.Constraint
	Count         xir.Constraint
	Cores         xir.Constraint
	Family        xir.Constraint
	BaseFrequency xir.Constraint
	L2            xir.Constraint
	Threads       xir.Constraint
	TDP           xir.Constraint
}

Jump to

Keyboard shortcuts

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