---@diagnostic disable: missing-return, lowercase-global
---@meta

---@param frame table
---@param includeChildren boolean
---@return number usage
---@return number calls
---Returns information about CPU usage by a frame's script handlers. Only returns valid data if the scriptProfile CVar was set to 1 on last UI reload; returns 0 otherwise. OnUpdate CPU usage is not included (tested at ver 6.0.3). Other scripts (e.g. OnEvent, OnShow) are included. Note that the CPU time is the sum of the time spent in the frame's CURRENT script handler functions, so if you change the handlers, or nil them out, the reported CPU time will change.
function GetFrameCPUUsage(frame, includeChildren) end
