benchmark

package
v0.0.0-...-a556200 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Task

func Task(ag *agency.Agent) (err error)

Task switches the right benchmark task

Types

type CustomAgentData

type CustomAgentData struct {
	NumAgents   int       // number of agents in mas
	BenchmarkID int       // id of task function to be executed
	PeerID      int       // id if agent to do ping pong with
	Start       bool      // indicates if agent starts ping pong
	StartTime   time.Time // start time of benchmark
	T           int       // cpu load period in ms
	Tr          float32   // part of T that agent is busy
}

CustomAgentData is the custom agent configuration

Jump to

Keyboard shortcuts

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