I guess the reason is that a lot of stuff is happening in the first frame, like opening the window and initialization of the DirectX device. This can take longer than a second and adds to the time spent by the two wait calls.