Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/node_exporter
/ init
Function
init
collector/cpu_aix.go:66–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
64
}
65
66
func
init() {
67
registerCollector(
"cpu"
, defaultEnabled, NewCpuCollector)
68
}
69
70
func
tickPerSecond() (float64, error) {
71
ticks, err := C.sysconf(C._SC_CLK_TCK)
Callers
nothing calls this directly
Calls
1
registerCollector
Function · 0.85
Tested by
no test coverage detected