cpu

package
v0.0.0-...-7c5a8cc Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2018 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServiceGetCount

func ServiceGetCount() (int, error)

ServiceGetCount gets the CPU counts.

func ServiceGetInfo

func ServiceGetInfo() ([]cpu.InfoStat, error)

ServiceGetInfo gets the CPU information.

func ServiceGetPercent

func ServiceGetPercent() ([]float64, error)

ServiceGetPercent gets CPU usage in details.

func ServiceGetSummaryPercent

func ServiceGetSummaryPercent() ([]float64, error)

ServiceGetSummaryPercent gets the percentage summary of cpu usage.

func ServiceGetSummaryTime

func ServiceGetSummaryTime() ([]cpu.TimesStat, error)

ServiceGetSummaryTime gets the time summary.

func ServiceGetTime

func ServiceGetTime() ([]cpu.TimesStat, error)

ServiceGetTime gets CPU time information in details.

Types

This section is empty.

Jump to

Keyboard shortcuts

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