MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cpu_tickrate

Function cpu_tickrate

freebsd/kern/kern_tc.c:2086–2093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2084}
2085
2086uint64_t
2087cpu_tickrate(void)
2088{
2089
2090 if (cpu_ticks == tc_cpu_ticks)
2091 return (tc_getfrequency());
2092 return (cpu_tick_frequency);
2093}
2094
2095/*
2096 * We need to be slightly careful converting cputicks to microseconds.

Callers 3

cputick2usecFunction · 0.85
kern_clock_getresFunction · 0.85
lim_cbFunction · 0.85

Calls 1

tc_getfrequencyFunction · 0.85

Tested by

no test coverage detected