GetFunctionCPUUsage
Jump to navigation
Jump to search
Links |
---|
Info |
Added in 2.1.0 |
This no longer exists on any flavor of the game. |
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.