util

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(v string) string

func ClkTck added in v0.0.2

func ClkTck() float64

func Hierarchy

func Hierarchy(c string) cgroups.Hierarchy

func IsEnableSubsystem

func IsEnableSubsystem(sname string, control cgroups.Cgroup) bool

func ReadSimple

func ReadSimple(cpath string, sname string, stat string) (string, error)

func Round added in v0.0.2

func Round(f float64) float64

func Subsystems

func Subsystems() ([]string, error)

func Usec added in v0.0.2

func Usec(v float64) string

func UsecPerSec added in v0.0.2

func UsecPerSec(v float64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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