//go:build !windows package game import "errors" // errNoEngineCounters marks platforms without per-process GPU engine // counters (the PDH path is Windows-only). var errNoEngineCounters = errors.New("per-process GPU engine counters are only available on Windows") // gpuEngineSampler is a stub on non-Windows platforms. type gpuEngineSampler struct{} func openGPUEngineSampler() (*gpuEngineSampler, error) { return nil, errNoEngineCounters } func (s *gpuEngineSampler) sample() (map[int]float64, error) { return nil, errNoEngineCounters }