Returns the total CPU time used by the scripting system. Only returns valid data if the scriptProfile CVar is set to 1; returns 0 otherwise.
See also Debugging and Profiling functions.
Signature:
usage = GetScriptCPUUsage()
Returns:
usage- Amount of CPU time used by the scripting system (in milliseconds) since the UI was loaded orResetCPUUsage()was last called (number)