hid/gtk: Improve accuracy of "Benchmark" action somewhat
commita4c7e1238754711b9b10606e0adce43dd387652f
authorPeter Clifton <pcjc2@cam.ac.uk>
Thu, 8 Jan 2015 20:52:23 +0000 (8 20:52 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Thu, 8 Jan 2015 21:00:56 +0000 (8 21:00 +0000)
tree0c5ffedc18c73c7d6b35d9c36c665ff1970ed873
parent964366c1d5db9804f057ee1dbd9423fac43f6a07
hid/gtk: Improve accuracy of "Benchmark" action somewhat

Divide by the actual time taken, not exactly 10. (To get _good_
accuracy we'd also need to use timers more accurate than 1s!)
src/hid/gtk/gtkhid-main.c