How do you measure when the frame is done, are you waiting for a vsync?
A truly fancy system would be something like Tristan Hume's keyboard-to-photon latency system: https://thume.ca/2020/05/20/making-a-latency-tester/
How do you measure when the frame is done, are you waiting for a vsync?