Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
Makefile | D | 03-May-2024 | 237 | 21 | 13 | |
README | D | 03-May-2024 | 771 | 20 | 14 | |
checktsc.c | D | 03-May-2024 | 6.4 KiB | 386 | 279 | |
sched.h | D | 03-May-2024 | 1.5 KiB | 48 | 31 |
README
1checktsc is a user space program that checks TSC synchronization 2between pairs of CPUs on an SMP system using a technique borrowed 3from the Linux 2.6.18 kernel. 4 5The test passes if all TSCs are within +/- "threshold" clock cycles 6of each other. The default value of "threshold" is 500 clock cycles 7and can be changed using the --threshold option. 8 9Default behaviour is to check all of the CPUs on a system and to 10report the observed difference in TSC values between each pair of CPUs. 11The --cpus option can be used to specify a subset of the CPUs to test. 12 13When run with the --silent option the test produces no output (other 14than for catastrophic errors) and success or failure is indicated by 15a 0 or 1 exit status from the program. 16 17Author: md@google.com 18License: GPL 19 20