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

Function rdtsc

freebsd/amd64/include/cpufunc.h:349–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349static __inline uint64_t
350rdtsc(void)
351{
352 uint32_t low, high;
353
354 __asm __volatile("rdtsc" : "=a" (low), "=d" (high));
355 return (low | ((uint64_t)high << 32));
356}
357
358static __inline uint64_t
359rdtscp(void)

Callers 7

get_cyclecountFunction · 0.70
vm_runFunction · 0.50
vm_snapshot_vmFunction · 0.50
vm_restore_timeFunction · 0.50
svm_wrmsrFunction · 0.50
vmx_wrmsrFunction · 0.50
cputimeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected