pcdsutils.profile.print_results

pcdsutils.profile.print_results(prof: LineProfiler | None = None, min_threshold: float = 0) None[source]

Prints the formatted results directly to terminal.

Parameters:
profLineProfiler, optional

The profiler whose statistics we’d like to save. If omitted, we’ll use the global profiler.

min_thresholdfloat, optional

If provided, we will omit results from functions with total time less than this duration in seconds from the output.