I worked as a programmer at a company that was logging 'keystrokes', and I had no idea. It wasn't what I typed, but *if* I typed. I had the highest count of any program they had hired, bar none. Odd, but I showed up at the required 0800, and usually never left until 1800. (They got their money) And wrote most programs people said 'could never be written'. Not to pat myself on the back. I used a different development environment than the other staff programmer, and seemed to be able to do more heavy lifting. (I was shocked to find out that they had a need to alter come of my programs, and had to have them rewritten, which, surprisingly hurt)
But, anyway, seeing the 'key counts' was odd. Some months, I was doubling the counts of all other programmers.
Was I more productive? Well, I had more programs on the production schedule for years.
Still, I wondered if I was really actually more productive, and how effective it was, to report 'keystrokes', and not some more subjective metric. Hmm... It's all over, but thanks for the memories...