C_AddOnProfiler. MeasureCall
functionguessedavailable in: camelot
Performs a profiled measurement of a single function call with any supplied arguments.
function C_AddOnProfiler.MeasureCall( func: LuaValueVariant, arguments: LuaValueVariant): (AddOnProfilerCallResults, LuaValueVariant)Parameters
| name | type |
|---|---|
func | LuaValueVariant |
arguments | LuaValueVariant |
Returns
| # | name | type |
|---|---|---|
| 1 | results | AddOnProfilerCallResults |
| 2 | returns | LuaValueVariant |
| field | type | description |
|---|---|---|
elapsedMilliseconds | number | Total number of milliseconds spent executing the function. |
elapsedTicks | number | Total number of profiling clock ticks spent executing the function. |
allocatedBytes | number | Total number of bytes allocated during call execution. |
deallocatedBytes | number | Total number of bytes deallocated during call execution. |
events | AddOnProfilerCallEvent[] | Events recorded by any AddMeasuredCallEvent calls that took place during function execution. |
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (AddOnProfiler system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.