#include"dsoundex.as"
repeat

timer
newtime=stat

if (newtime-oldtime)>=1000{
FPS=count
count=0
oldtime=newtime
}
count++

redraw 2
color:boxf
color 255:pos 0,0:mes FPS
redraw 1

await 1
loop
//端数は考慮してないけど何か間違っていますか?
//リフレッシュレートは75ヘルツにしてFPS64くらいです。