Pike v8.0 release 1738

Method Debug.Profiling.display()


Method display

void display(int|void num, string|array(string)|void pattern, string|array(string)|void exclude)

Description

Show profiling information in a more-or-less readable manner. This only works if pike has been compiled with profiling support.

The function will print to stderr using werror.

This is mainly here for use from the Debug.Watchdog class, if you want to do your own formatting or output to some other channel use get_prof_info instead.