Advertisement
2002C Miscellaneous #8874

High Resolution Timer

Did you ever what to time something up to thousands of a second. This is not possible by using time() and timers at all. This little class (only uses 3 variables) can time up to a thousands of a second with your CPU clock frequency. There's a little example program also shows the difference between using: {if VarX "" then} AND {if Len(VarX) 0 then}. The last one will execute between 20-25% faster. The timer can show this in fractions of a second.

AI

Tóm tắt bởi AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Mã nguồn
original-source
Upload
Bình luận gốc (3)
Được khôi phục từ Wayback Machine