Returns information about the CPU usage of an event. Only returns valid data if the
scriptProfile CVar is set to 1; returns 0 otherwise.
See also Debugging and Profiling functions.
event- Name of an event; if omitted, returns usage information for all events (
usage- Amount of CPU time used by handlers for the event (in milliseconds) since the UI was loaded or
ResetCPUUsage()was last called (
numEvents- Number of times the event has fired this session (