Searched refs:clkinfo (Results 1 – 2 of 2) sorted by relevance
794 struct clockinfo clkinfo; in sysctl_kern_clockrate() local798 bzero(&clkinfo, sizeof(clkinfo)); in sysctl_kern_clockrate()799 clkinfo.hz = hz; in sysctl_kern_clockrate()800 clkinfo.tick = tick; in sysctl_kern_clockrate()801 clkinfo.profhz = profhz; in sysctl_kern_clockrate()802 clkinfo.stathz = stathz ? stathz : hz; in sysctl_kern_clockrate()803 return (sysctl_handle_opaque(oidp, &clkinfo, sizeof clkinfo, req)); in sysctl_kern_clockrate()
60 static struct clockinfo clkinfo; variable225 size = sizeof(clkinfo); in main()226 if (sysctlbyname("kern.clockrate", &clkinfo, &size, NULL, 0) in main()227 || size != sizeof(clkinfo)) { in main()231 hertz = clkinfo.stathz; in main()