[I moved this 'cos it didn't seem to have much to do with DelphiX.]
In the DelphiX timer's OnTimer event, you can use the LagCount parameter to get the frame time.