MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / statCollector

Struct statCollector

metric/cpu_darwin.go:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50const ClocksPerSec = float64(C.CLK_TCK)
51
52type statCollector struct {
53 cpu *prometheus.Desc
54}
55
56// NewCPUCollector returns a new Collector exposing CPU stats.
57func NewCPUCollector() (Collector, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected