v0.13.7

C_AddOnProfiler.MeasureCall

functionguessedavailable in: camelot

Performs a profiled measurement of a single function call with any supplied arguments.

signaturewowlua
function C_AddOnProfiler.MeasureCall(    func: LuaValueVariant,    arguments: LuaValueVariant): (AddOnProfilerCallResults, LuaValueVariant)

Parameters

nametype
funcLuaValueVariant
argumentsLuaValueVariant

Returns

#nametype
1resultsAddOnProfilerCallResults
2returnsLuaValueVariant
AddOnProfilerCallResults
fieldtypedescription
elapsedMillisecondsnumberTotal number of milliseconds spent executing the function.
elapsedTicksnumberTotal number of profiling clock ticks spent executing the function.
allocatedBytesnumberTotal number of bytes allocated during call execution.
deallocatedBytesnumberTotal number of bytes deallocated during call execution.
eventsAddOnProfilerCallEvent[]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 ↗.