mirror of
https://github.com/golang/sys.git
synced 2026-02-08 19:56:04 +03:00
OpenBSD (like NetBSD) uses sysctl with struct clockinfo to get clock rate information from the kernel. Add type Clockinfo and the SysctlClockinfo function to query this information. Change-Id: I35070a82b8de23dcd7592e8654dcc5eeee143b5b Reviewed-on: https://go-review.googlesource.com/c/sys/+/168057 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
1.2 KiB
1.2 KiB