test timer results
Host with clock already drifted to 2114:
./root@host-131:~# ./test_timer
TAP version 13
# number of cores: 4
ok 1 same timer frequency on all cores
# timer frequency is 24000000 Hz (24 MHz)
ok 2 native counter reads are monotonic # 0 errors
# min: 6, avg: 6, max: 3795
ok 3 Linux counter reads are monotonic # 0 errors
# min: 458, avg: 504, max: 39000
# core 0: counter value: 2610635813617 => 108776 sec
# core 0: offsets: back-to-back: 7, b-t-b synced: 10, b-t-b w/ delay: 9
# core 1: counter value: 2610635816527 => 108776 sec
# core 1: offsets: back-to-back: 9, b-t-b synced: 7, b-t-b w/ delay: 9
# core 2: counter value: 2610635818363 => 108776 sec
# core 2: offsets: back-to-back: 9, b-t-b synced: 7, b-t-b w/ delay: 8
# core 3: counter value: 2610635821240 => 108776 sec
# core 3: offsets: back-to-back: 8, b-t-b synced: 7, b-t-b w/ delay: 8
1..3
root@host-131:~# date
Fri Jun 22 19:59:10 UTC 2114
Host with clock still at the present time:
root@host-125:~# ./test_timer
TAP version 13
# number of cores: 4
ok 1 same timer frequency on all cores
# timer frequency is 24000000 Hz (24 MHz)
ok 2 native counter reads are monotonic # 0 errors
# min: 6, avg: 6, max: 174096
ok 3 Linux counter reads are monotonic # 0 errors
# min: 458, avg: 500, max: 25958
# core 0: counter value: 2612467490982 => 108852 sec
# core 0: offsets: back-to-back: 8, b-t-b synced: 11, b-t-b w/ delay: 9
# core 1: counter value: 2612467492975 => 108852 sec
# core 1: offsets: back-to-back: 8, b-t-b synced: 6, b-t-b w/ delay: 8
# core 2: counter value: 2612467494726 => 108852 sec
# core 2: offsets: back-to-back: 8, b-t-b synced: 6, b-t-b w/ delay: 8
# core 3: counter value: 2612467497033 => 108852 sec
# core 3: offsets: back-to-back: 8, b-t-b synced: 6, b-t-b w/ delay: 8
1..3
root@host-125:~# date
Tue Apr 30 23:27:54 UTC 2019