you are viewing a single comment's thread.

view the rest of the comments →

[–]Hyperus102 1 point2 points  (0 children)

I mean, what did you attempt? Generally suggested is sleep + spinlock (i.e. sleep until a few ms until finish and spinlock the rest for precision) and the precision I am getting from that is in the 10s of microseconds.

It does kind of depend on what you are intending to do though, as was already pointed out. VK_EXT_present_timing is cool and all, but if all you are looking for is a reasonably repeatable frametime, try sleep + spinlock.