Files
bifrost/transports/bifrost-http/handlers/devpprof_windows.go
Beyhan Oğur 880f412e2c first commit
2026-04-26 21:52:23 +03:00

13 lines
237 B
Go

//go:build dev && windows
package handlers
import "time"
// getCPUSample returns a zeroed CPU sample on Windows
// Windows does not support syscall.Getrusage
func getCPUSample() cpuSample {
return cpuSample{timestamp: time.Now()}
}