rnouten@bird:~/progs/alsa-midi-latency-test$ chrt -f 50 ./src/alsa-midi-latency-test -s 40 --input 28:0 --output 28: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.30; 2.30 42; 2.78; 2.78 43; 2.81; 2.81 165; 2.85; 2.85 166; 2.86; 2.86 167; 2.91; 2.91 567; 2.93; 2.93 666; 2.93; 2.93 667; 2.97; 2.97 1110; 3.17; 3.17 2581; 3.41; 3.41 2582; 3.59; 3.59 10000; 2.26; 3.59 > done. > latency distribution: ... 1.1 - 1.2 ms: 7 # ... 1.5 - 1.6 ms: 2 # 1.6 - 1.7 ms: 8 # 1.7 - 1.8 ms: 37 # 1.8 - 1.9 ms: 12 # 1.9 - 2.0 ms: 6 # 2.0 - 2.1 ms: 11 # 2.1 - 2.2 ms: 10 # 2.2 - 2.3 ms: 7131 ################################################### 2.3 - 2.4 ms: 2114 ############### 2.4 - 2.5 ms: 74 # 2.5 - 2.6 ms: 345 ### 2.6 - 2.7 ms: 172 ## 2.7 - 2.8 ms: 26 # 2.8 - 2.9 ms: 16 # 2.9 - 3.0 ms: 21 # ... 3.1 - 3.2 ms: 1 # 3.2 - 3.3 ms: 2 # ... 3.4 - 3.5 ms: 2 # 3.5 - 3.6 ms: 1 #