etime

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandResult

type CommandResult struct {
	energy.EnergyResult
	times.TimeMeasurement
	ExitCode int
}

CommandResult holds information from the run command

func Run

func Run(cmd []string, cfg config.Configure) (results CommandResult, err error)

Run executes the command and returns the usage statistics

Jump to

Keyboard shortcuts

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