Lead time
Re: Lead time
Have you tried?
Use it like this (with disabled Debugger):
As a friendly reminder: Don't forget to use the Help Pages......
Code: Select all
ElapsedMilliseconds()
Use it like this (with disabled Debugger):
Code: Select all
Global time = ElapsedMilliseconds()
; do some processing
time = ElapsedMilliseconds() - time
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Re: Lead time
Not quite, ElapsedMilliseconds() returns a quad variable type (.q) otherwise it will not work on 32-bit systems.Axolotl wrote: Sun May 04, 2025 4:48 pm Use it like this (with disabled Debugger):Code: Select all
Global time = ElapsedMilliseconds() ; do some processing time = ElapsedMilliseconds() - time
Code: Select all
Global time.q = ElapsedMilliseconds()