Skip to content

Sholde/rdtscp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

how to use rdtscp instruction

Compile

$ make

Usage

Use the taskset command to pin the process to the desired core. Replace N with the core id.

$ taskset -c N ./main

Result

      cycles: 14054263169265
processor id: N

About

Use of the x86 RDTSCP instruction

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published