x86: tsc cycles test
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 19 Mar 2013 18:39:23 +0000 (11:39 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 19 Mar 2013 18:39:23 +0000 (11:39 -0700)
commit50f6c7111308dc8a3129f05863bc8d0267519e89
tree56f4f470c0c44b4438fdcd12f166d21ec8b3ae1a
parente7d1f6e6fb56cf07754ab5a551be4ff157b3d40f
x86: tsc cycles test

Simple benchmark to determine if TSC ticks are equivalent to cycles,
given that the CPU frequency doesn't vary.
kern/arch/i686/rdtsc_test.c