Mod API Reference:TickCount: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
Created page with "Mods can call the '''WL.TickCount()''' function to return an integer that represents the number of milliseconds at any point in time. This is useful for profiling code to mea..."
 
DanWL60 (talk | contribs)
m added category
 
Line 1: Line 1:
Mods can call the '''WL.TickCount()''' function to return an integer that represents the number of milliseconds at any point in time.  This is useful for profiling code to measure how long certain code takes to run.  To do this, call WL.TickCount() before and after the code you want to measure and subtract them to determine the number of milliseconds that the code took to run.
Mods can call the '''WL.TickCount()''' function to return an integer that represents the number of milliseconds at any point in time.  This is useful for profiling code to measure how long certain code takes to run.  To do this, call WL.TickCount() before and after the code you want to measure and subtract them to determine the number of milliseconds that the code took to run.
[[Category:Mod API Reference]]

Latest revision as of 17:00, 4 November 2023

Mods can call the WL.TickCount() function to return an integer that represents the number of milliseconds at any point in time. This is useful for profiling code to measure how long certain code takes to run. To do this, call WL.TickCount() before and after the code you want to measure and subtract them to determine the number of milliseconds that the code took to run.