This repository has been archived by the owner. It is now read-only.
CPU cycle counter for ARM11 chips
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Makefile
README.md
cpucycles4ns.c
dev4ns.c
dev4ns.h

README.md

CPU cycle counter for ARM11

Usage

make
insmod cpucycles4ns.ko
dmesg | grep cpucycles4ns

This should print something like mknod /dev/cpucycles4ns c 253 0. Run that command.

Credits

Based on http://bench.cr.yp.to/cpucycles/n810.html which appears to have been written by D.J. Bernstein (according to the paper "SHA3 on ARM11 processors" by Peter Schwabe, Bo-Yin Yang and Shang-Yi Yang).