mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
13 lines
154 B
Go
13 lines
154 B
Go
![]() |
// +build cgo,linux cgo,freebsd
|
||
|
|
||
|
package system
|
||
|
|
||
|
/*
|
||
|
#include <unistd.h>
|
||
|
*/
|
||
|
import "C"
|
||
|
|
||
|
func GetClockTicks() int {
|
||
|
return int(C.sysconf(C._SC_CLK_TCK))
|
||
|
}
|