arnouten@bird:~/progs/alsa-midi-latency-test$ chrt -f 50 ./src/alsa-midi-latency-test -s 40 --input 24:0 --output 24:0 > calibrating high precision timer loop.. done. time diff = 0.00 loops/sec = 8661432571218325.00 > sampling 10000 midi latency values - please wait.. > press Ctrl+C to abort test. > skipping first 40 latency samples. sample; latency_ms; latency_ms_worst 41; 2.82; 2.82 42; 3.37; 3.37 72; 3.51; 3.51 316; 3.63; 3.63 1520; 3.69; 3.69 3927; 3.72; 3.72 4133; 4.55; 4.55 10000; 2.93; 4.55 > done. > latency distribution: ... 1.8 - 1.9 ms: 1 # ... 2.2 - 2.3 ms: 73 # 2.3 - 2.4 ms: 63 # 2.4 - 2.5 ms: 15 # 2.5 - 2.6 ms: 9 # 2.6 - 2.7 ms: 13 # 2.7 - 2.8 ms: 4 # 2.8 - 2.9 ms: 8496 ################################################### 2.9 - 3.0 ms: 687 ##### 3.0 - 3.1 ms: 172 ## 3.1 - 3.2 ms: 262 ## 3.2 - 3.3 ms: 158 # 3.3 - 3.4 ms: 7 # 3.4 - 3.5 ms: 9 # 3.5 - 3.6 ms: 11 # 3.6 - 3.7 ms: 12 # 3.7 - 3.8 ms: 4 # ... 4.1 - 4.2 ms: 1 # ... 4.5 - 4.6 ms: 1 #