Add support for outputting input timings using -t parameter

Will hopefully be useful for understanding how long it takes for events to
take effect.