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
floatnumber_of_callsThe number of calls
floatself_timeThe self CPU time
floatcpu_timeThe self CPU time, 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_lineThis is the location in the source of the start of the function