v0.13.7

C_AddOnProfiler.GetAddOnMetric

functionimplementedavailable in: camelot

Returns an addon specific performance metric

signaturewowlua
function C_AddOnProfiler.GetAddOnMetric(    name: string,    metric: AddOnProfilerMetric): number

Parameters

nametypedescription
namestringThe name of the addon to be queried. Blizzard addons cannot be queried.
metricAddOnProfilerMetric

Returns

result · number · The value corresponding to the requested metric. Time values are measured in milliseconds.

In wowlua's emulated client

implementedwowlua models the system behind it. 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 ↗.