1 The following is an example of the wpm.d script.
4 This script takes the name of a program to trace, and assumes that reads
5 on file descriptor zero (STDIN) are keystrokes.
7 When run, a 5 second count down begins before keystrokes are measured,
10 Measuring will start in : 5 seconds
12 While running, I retyped the first three sentences of this file a few times
13 which clocked the following result,
16 Measuring will start in : 0 seconds
17 Measuring will stop in : 0 seconds
19 Characters typed : 509
22 Minimum keystroke latency : 12 ms
23 Average keystroke latency : 118 ms
24 Maximum keystroke latency : 493 ms
26 Word size distribution (letters),
28 value ------------- Distribution ------------- count
46 Keystroke latency distribution (ms),
48 value ------------- Distribution ------------- count
53 64 |@@@@@@@@@@@@@@@@@@@@ 247
54 128 |@@@@@@@@@@@@@ 167