cpu

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package cpu provides CPU benchmarking and stress testing functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin implements CPU stress testing

func (*Plugin) DefaultParams

func (p *Plugin) DefaultParams() plugin.Params

DefaultParams returns default parameters

func (*Plugin) Description

func (p *Plugin) Description() string

Description returns the plugin description

func (*Plugin) Info

func (p *Plugin) Info() plugin.Info

Info returns detailed plugin information

func (*Plugin) Name

func (p *Plugin) Name() string

Name returns the plugin name

func (*Plugin) Run

func (p *Plugin) Run(ctx context.Context, params plugin.Params) (plugin.Result, error)

Run executes the CPU stress test

func (*Plugin) ValidateParams

func (p *Plugin) ValidateParams(params plugin.Params) error

ValidateParams validates the parameters

Jump to

Keyboard shortcuts

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