8000 Release v0.3.3: Make SC_CLK_TCK return constant 100 on Linux · tklauser/go-sysconf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v0.3.3

@tklauser tklauser tagged this 01 Feb 11:17
CLK_TCK is always 100 on Linux. For example, musl hard-codes this
https://git.musl-libc.org/cgit/musl/tree/src/conf/sysconf.c#n30 and
glibc looks it up from the ELF auxv, but the kernel sets it to 100 on
all architectures (except alpha and ia64, both of which are obsolete and
not supported by Go). Also see
https://github.com/containerd/cgroups/pull/12
Assets 2
Loading
0