Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This is a crappy ctypes-based wrapper around the X86 RDTSC instruction to get cycle timers.

It will only work on x86-64 systems and probably requires GCC to install. Caveat emptor.

CircleCI

Usage

import rdtsc

start = rdtsc.get_cycles()
# do stuff
end = rdtsc.get_cycles()

About

Python wrapper around the RDTSCP instruction to get the cycle counter on X86

Resources

License

Packages

No packages published