gettickcount,Now只能产生0.01秒的计时精度。(毫秒)
1秒 = 100厘秒 ?? 还真没见过 厘秒 这个单位。。。
1秒=1000毫秒(ms) 1毫秒=1/1,000秒(s) 1秒=1,000,000 微秒(μs) 1微秒=1/1,000,000秒(s) 1秒=1,000,000,000 纳秒(ns) 1纳秒=1/1,000,000,000秒(s) 1秒=1,000,000,000,000 皮秒(ps) 1皮秒=1/1,000,000,000,000秒(s) 楼主的厘秒是何意?
var x:int64; begin x:=gettickcount; if x mod 1000=0 then begin while gettickcount-x<50 do begin //这里是你要在每秒的前50毫秒执行的内容 end; end; end;
每秒的前50厘秒? 只听过毫秒。。。 希望在系统时间为每个 n-0.05秒 时触发事件?
16,747
社区成员
33,239
社区内容
加载中
试试用AI创作助手写篇文章吧