In elite events the time is measured as follows:
The timing starts when the starter pulls the trigger on the starting pistol, the message is transmitted via a transducer to the photo finish mechanism.
The athlete is photographed at the finish line by a camera and the time is printed on a scale alongside the photograph.