Method Debug.Profiling.get_prof_info()
- Method get_prof_info
array(array(string|float|int)) get_prof_info(string|array(string)|void include, string|array(string)|void exclude)
- 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 string name The name of the function
float number_of_calls The number of calls
float self_time The self CPU time
float cpu_time The self CPU time, including children.
float self_time_pct The self CPU time as percentage of total time.
float cpu_time_pct The self CPU time, including children, as percentage of total time.
string function_line This is the location in the source of the start of the function