Read the TSC register with the x86_64 RDTSCP instruction to benchmark the execution of a function in CPU clock cycles granularity from both kernel and user space. LFENCE is used to avoid other instructions being executed before the reading is complete.
-
Notifications
You must be signed in to change notification settings - Fork 0
Measure CPU clock cycles spent executing a function using the x86_64 RDTSCP instruction, from both kernel and user space
License
tnrdd/cycles_count
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Measure CPU clock cycles spent executing a function using the x86_64 RDTSCP instruction, from both kernel and user space
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published