Merge pull request #2 from dmitryya/master

io_sensor: Add get_latency function