Add timing to test_hv

I'm losing one-second messages at high trigger rates.  Now I know why:
after a burst of events, storing them (with compression and such) takes
longer than one second, sometimes even longer than two or three seconds.
Of course, the output buffer in the DAQ hardware fills up and one-second
messages are lost.