Hi keyboard, try this code. Let it run for a few seconds and then press escape. On my P3 - 600Mhz it says 57. This is really 5.7 millisecs. On my 60Hz screen a frame gets 16.67 per frame. See the problem! I think you have B2D, tell me what time it takes on yours.
Graphics 1024,768,16,0
SetBuffer BackBuffer()
frames% = 0 : time%=MilliSecs()
While Not KeyHit(1)
Flip False
frames% = frames% + 1
Wend
Color 255,255,255
Text 0,0, (MilliSecs()-time%)/(frames%/10)
Flip
FlushKeys
WaitKey()
End
Graphics 1024,768,16,0
SetBuffer BackBuffer()
frames% = 0 : time%=MilliSecs()
While Not KeyHit(1)
Flip False
frames% = frames% + 1
Wend
Color 255,255,255
Text 0,0, (MilliSecs()-time%)/(frames%/10)
Flip
FlushKeys
WaitKey()
End