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

Function rdtsc32

freebsd/i386/include/cpufunc.h:406–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406static __inline uint32_t
407rdtsc32(void)
408{
409 uint32_t rv;
410
411 __asm __volatile("rdtsc" : "=a" (rv) : : "edx");
412 return (rv);
413}
414
415static __inline uint32_t
416rdtscp32(void)

Callers 3

tsc_get_timecountFunction · 0.50
tsc_get_timecount_lfenceFunction · 0.50
tsc_get_timecount_mfenceFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected