Method Debug.Profiling.get_prof_info()
- Method
get_prof_info
array(array(string|float|int)) get_prof_info(string|array(string)|voidinclude,string|array(string)|voidexclude)- Description
Collect profiling data.
This will return the CPU usage, by function, since the last time the function was called.
The returned array contains the following entries per entry:
Array stringnameThe name of the function.
intnumber_of_callsThe number of calls.
floattotal_self_timeTotal self CPU time in milliseconds.
floattotal_cpu_timeTotal self CPU time in milliseconds, including children.
floatavg_self_timeAverage self CPU time in microseconds.
floatavg_cpu_timeAverage self CPU time in microseconds, including children.
floatself_time_pctThe self CPU time as percentage of total time.
floatcpu_time_pctThe self CPU time, including children, as percentage of total time.
stringfunction_lineFunction's definition source location.