aboutsummaryrefslogtreecommitdiff
path: root/Examples/wpm_example.txt
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
commit055173dba4a263acf10325a49eebf82915369ed2 (patch)
treeaec2772e8855e6dbaea6d8136ed0c47bcb825dee /Examples/wpm_example.txt
parent87c8f7aa3a46118212b99f0d58b18aa93c06b02a (diff)
Notes
Diffstat (limited to 'Examples/wpm_example.txt')
-rw-r--r--Examples/wpm_example.txt57
1 files changed, 57 insertions, 0 deletions
diff --git a/Examples/wpm_example.txt b/Examples/wpm_example.txt
new file mode 100644
index 000000000000..bfc74a90ff34
--- /dev/null
+++ b/Examples/wpm_example.txt
@@ -0,0 +1,57 @@
+The following is an example of the wpm.d script.
+
+
+This script takes the name of a program to trace, and assumes that reads
+on file descriptor zero (STDIN) are keystrokes.
+
+When run, a 5 second count down begins before keystrokes are measured,
+
+ # wpm.d vim
+ Measuring will start in : 5 seconds
+
+While running, I retyped the first three sentences of this file a few times
+which clocked the following result,
+
+ # wpm.d vim
+ Measuring will start in : 0 seconds
+ Measuring will stop in : 0 seconds
+
+ Characters typed : 509
+ Words per minute : 84
+
+ Minimum keystroke latency : 12 ms
+ Average keystroke latency : 118 ms
+ Maximum keystroke latency : 493 ms
+
+ Word size distribution (letters),
+
+ value ------------- Distribution ------------- count
+ 0 | 0
+ 1 |@@@ 6
+ 2 |@@@@@ 11
+ 3 |@@@@@ 11
+ 4 |@@@@@@ 13
+ 5 |@@@@ 8
+ 6 |@@@@@@ 12
+ 7 |@@@@@ 11
+ 8 | 0
+ 9 |@@ 4
+ 10 |@ 3
+ 11 |@ 2
+ 12 | 0
+ 13 | 0
+ 14 | 1
+ 15 | 0
+
+ Keystroke latency distribution (ms),
+
+ value ------------- Distribution ------------- count
+ 4 | 0
+ 8 | 1
+ 16 | 5
+ 32 |@@@@@ 66
+ 64 |@@@@@@@@@@@@@@@@@@@@ 247
+ 128 |@@@@@@@@@@@@@ 167
+ 256 |@ 16
+ 512 | 0
+