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

Function rdtsc

freebsd/net/altq/altq_subr.c:968–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

966
967#if defined(__OpenBSD__) && defined(__i386__)
968static __inline u_int64_t
969rdtsc(void)
970{
971 u_int64_t rv;
972 __asm __volatile(".byte 0x0f, 0x31" : "=A" (rv));
973 return (rv);
974}
975#endif /* __OpenBSD__ && __i386__ */
976
977u_int64_t

Callers 8

read_machclkFunction · 0.70
probe_tsc_freqFunction · 0.50
native_lapic_initFunction · 0.50
lapic_timer_deadlineFunction · 0.50
pvclock_get_nsec_offsetFunction · 0.50
mca_check_statusFunction · 0.50
cpu_est_clockrateFunction · 0.50
delay_tscFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected