mirror of
https://github.com/luxfi/metric.git
synced 2026-07-27 04:12:44 +00:00
- process_metrics_unix.go: //go:build unix (for Linux, Darwin, BSD) - process_metrics_windows.go: //go:build windows (unchanged) - process_metrics_other.go: //go:build !unix && !windows (for plan9, js/wasm)
15 lines
289 B
Go
15 lines
289 B
Go
// Copyright (C) 2020-2026, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
//go:build !unix && !windows
|
|
|
|
package metric
|
|
|
|
func processCPUSeconds() (float64, bool) {
|
|
return 0, false
|
|
}
|
|
|
|
func processResidentBytes() (float64, bool) {
|
|
return 0, false
|
|
}
|