The documentation is slightly confusing. It says:
Get the time elapsed since the last frame.
This function returns the time elapsed during the last frame. This can be useful for calculating the framerate, or for updating the application's objects.
It has two conflicting meanings: elapsed time so far in current frame, and elapsed time in previous frame.
Which of the two does it mean?