Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: SDPhantom
Forum: Lua/XML Help 10-03-20, 03:01 AM
Replies: 14
Views: 13,989
Posted By SDPhantom
debugprofilestop() returns the number of...

debugprofilestop() returns the number of milliseconds since the last time debugprofilestart() was called. The value is undefined if the later has never been called, but seems to tick at the same rate...
Forum: Lua/XML Help 10-01-20, 12:56 AM
Replies: 14
Views: 13,989
Posted By SDPhantom
This is what I've come up with. local...

This is what I've come up with.

local AsyncPairs; do
-- Local pointers make lookups faster
local CallErrorHandler=CallErrorHandler;
local debugprofilestop=debugprofilestop;
local...
Forum: Lua/XML Help 09-28-20, 01:58 PM
Replies: 14
Views: 13,989
Posted By SDPhantom
To answer the question directly, GetTime() is...

To answer the question directly, GetTime() is cached at the start of every frame.

PS: Be careful if you use debugprofilestop(). The number resets if anyone runs debugprofilestart().
Showing results 1 to 3 of 3