320e9b6057
ci-via-github-actions
12 lines
154 B
Go
12 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))
|
|
}
|