package pse
import "github.com/nats-io/gnatsd/server/pse"
Index ¶
- Constants
- func ProcUsage(pcpu *float64, rss, vss *int64) error
- type PDH_FMT_COUNTERVALUE_DOUBLE
- type PDH_FMT_COUNTERVALUE_ITEM_DOUBLE
- type PDH_HCOUNTER
- type PDH_HQUERY
Constants ¶
const ( PDH_FMT_DOUBLE = 0x00000200 PDH_INVALID_DATA = 0xC0000BC6 PDH_MORE_DATA = 0x800007D2 )
PDH constants used here
Functions ¶
func ProcUsage ¶
ProcUsage returns process CPU and memory statistics
Types ¶
type PDH_FMT_COUNTERVALUE_DOUBLE ¶
PDH_FMT_COUNTERVALUE_DOUBLE - double value
type PDH_FMT_COUNTERVALUE_ITEM_DOUBLE ¶
type PDH_FMT_COUNTERVALUE_ITEM_DOUBLE struct { SzName *uint16 // pointer to a string FmtValue PDH_FMT_COUNTERVALUE_DOUBLE }
PDH_FMT_COUNTERVALUE_ITEM_DOUBLE is an array element of a double value
type PDH_HCOUNTER ¶
PDH Types
type PDH_HQUERY ¶
PDH Types
Source Files ¶
- Version
- v0.8.0
- Published
- May 9, 2016
- Platform
- windows/amd64
- Imports
- 8 packages
- Last checked
- 4 hours ago –
Tools for package owners.