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

Function set_cputicker

freebsd/kern/kern_tc.c:2073–2084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2071}
2072
2073void
2074set_cputicker(cpu_tick_f *func, uint64_t freq, unsigned var)
2075{
2076
2077 if (func == NULL) {
2078 cpu_ticks = tc_cpu_ticks;
2079 } else {
2080 cpu_tick_frequency = freq;
2081 cpu_tick_variable = var;
2082 cpu_ticks = func;
2083 }
2084}
2085
2086uint64_t
2087cpu_tickrate(void)

Callers 6

geode_probeFunction · 0.85
mips_timer_init_paramsFunction · 0.85
platform_startFunction · 0.85
mips_timer_init_paramsFunction · 0.85
init_TSCFunction · 0.85
tsc_levels_changedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected