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

Function tsc_get_timecount_lfence

freebsd/x86/x86/tsc.c:834–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832}
833
834static u_int
835tsc_get_timecount_lfence(struct timecounter *tc __unused)
836{
837
838 lfence();
839 return (rdtsc32());
840}
841
842static u_int
843tsc_get_timecount_low_lfence(struct timecounter *tc)

Callers

nothing calls this directly

Calls 2

lfenceFunction · 0.50
rdtsc32Function · 0.50

Tested by

no test coverage detected