Zebediah Figura (@zfigura) commented about dlls/wined3d/cs.c:
wined3d_cs_op_handlers[opcode](cs, packet->data); wined3d_cs_command_unlock(cs); TRACE("%s at %p executed.\n", debug_cs_op(opcode), packet);
if (TRACE_ON(frametime) && opcode == WINED3D_CS_OP_PRESENT)
Wait, why not in wined3d_cs_exec_present(), where the fps code is?
(Also, shouldn't this information be tied to the swapchain, not the CS?)