Documentation ¶
Index ¶
- func BootEpoch() (epoch uint64)
- func BootTime() time.Time
- func ClockTicks() (ticksPerSecond int64)
- func CpuTick() (t int64)
- func GetMemStats(pid int) (used uint64)
- func GetPidStats(pid int) (t int64, st uint64, ppid, pgrp, nice, threads int)
- func NumCores() (n int)
- func TimeFromPid(pid int) (t int64)
- type ByPid
- type ByUsage
- type CProcess
- type CpuInfo
- type Process
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClockTicks ¶ added in v0.1.9
func ClockTicks() (ticksPerSecond int64)
func GetMemStats ¶
func TimeFromPid ¶
Types ¶
type CpuInfo ¶
func (*CpuInfo) GetProcesses ¶
Click to show internal directories.
Click to hide internal directories.