v0.13.8

C_AddOnProfiler

namespaceavailable in: camelot

Status in wowlua

10 functions: 1 implemented, 0 recorded, 9 guessed.

Functions

functionwhat it doesstatus
AddMeasuredCallEventAdds a measured event to any ongoing measured calls. If no such calls are currently taking place, this function does nothing.
(name: stringView)
guessed
AddPerformanceMessageShownInternal API for telemetry.
(msg: AddOnPerformanceMessage)
guessed
CheckForPerformanceMessageOptimized check for determining if AddOns are severely impacting UI performance.
(): AddOnPerformanceMessage?
guessed
GetAddOnMetricReturns an addon specific performance metric
(name: string, metric: AddOnProfilerMetric): number
implemented
GetApplicationMetricOverall profiling data for the entire application (not just the UI)
(metric: AddOnProfilerMetric): number
guessed
GetOverallMetricReturns the specified performance metric, measured across all user-installed addons.
(metric: AddOnProfilerMetric): number
guessed
GetTicksPerSecondReturns the number of profiling clock ticks that occur within a single real-time second.
(): number
guessed
GetTopKAddOnsForMetricGet the top K addons for a given metric
(metric: AddOnProfilerMetric, k: number): AddOnProfilerResult[]
guessed
IsEnabledReturns whether profiling is enabled. Currently this is always true.
(): boolean
guessed
MeasureCallPerforms a profiled measurement of a single function call with any supplied arguments.
(func: LuaValueVariant, arguments: LuaValueVariant): (AddOnProfilerCallResults, LuaValueVariant)
guessed

Structures

  • AddOnPerformanceMessage · type, metric, addOnName?, metricValue, thresholdValue
  • AddOnProfilerCallEvent · name, allocatedBytes, deallocatedBytes, elapsedMilliseconds, elapsedTicks
  • AddOnProfilerCallResults · elapsedMilliseconds, elapsedTicks, allocatedBytes, deallocatedBytes, events
  • AddOnProfilerResult · addOnName, metricValue

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (AddOnProfiler system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.