C_AddOnProfiler
namespaceavailable in: camelotStatus in wowlua
10 functions: 1 implemented, 0 recorded, 9 guessed.
Functions
| function | what it does | status |
|---|---|---|
AddMeasuredCallEvent | Adds a measured event to any ongoing measured calls. If no such calls are currently taking place, this function does nothing.(name: stringView) | guessed |
AddPerformanceMessageShown | Internal API for telemetry.(msg: AddOnPerformanceMessage) | guessed |
CheckForPerformanceMessage | Optimized check for determining if AddOns are severely impacting UI performance.(): AddOnPerformanceMessage? | guessed |
GetAddOnMetric | Returns an addon specific performance metric(name: string, metric: AddOnProfilerMetric): number | implemented |
GetApplicationMetric | Overall profiling data for the entire application (not just the UI)(metric: AddOnProfilerMetric): number | guessed |
GetOverallMetric | Returns the specified performance metric, measured across all user-installed addons.(metric: AddOnProfilerMetric): number | guessed |
GetTicksPerSecond | Returns the number of profiling clock ticks that occur within a single real-time second.(): number | guessed |
GetTopKAddOnsForMetric | Get the top K addons for a given metric(metric: AddOnProfilerMetric, k: number): AddOnProfilerResult[] | guessed |
IsEnabled | Returns whether profiling is enabled. Currently this is always true.(): boolean | guessed |
MeasureCall | Performs 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, thresholdValueAddOnProfilerCallEvent· name, allocatedBytes, deallocatedBytes, elapsedMilliseconds, elapsedTicksAddOnProfilerCallResults· elapsedMilliseconds, elapsedTicks, allocatedBytes, deallocatedBytes, eventsAddOnProfilerResult· 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 ↗.