Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns information about CPU usage by a function.

usage, calls = GetFunctionCPUUsage(func, includeSubroutines)

Arguments[]

func
function
includeSubroutines
boolean

Returns[]

usage
number
calls
number

Details[]

  • Only returns valid data if the scriptProfile CVar is set to 1; returns 0 otherwise.
Advertisement