Track time spent from point A to point B - which product?


I’m interested in using beacons to measure time spent in a queue. Is this possible to do by placing one beacon at the top of the queue and another one at the exit? How accurate would this be and which product would be most suited?

Many thanks!