gcpy.profile.gprofng_functions

Plots the top functions by exclusive time from a gprofng profile.

Functions

gprofng_plot_functions(dframe, filename, ...)

Plots functions having the largest exclusive time from gprofng profiling output.

gprofng_read_functions(filename)

Reads function profiling information from gprofng output.

main()

Main program.

gcpy.profile.gprofng_functions.gprofng_read_functions(filename)[source]

Reads function profiling information from gprofng output.

Parameters:

filename (str) – Name of file with profiling information.

Returns:

data – Profiling information read from filename.

Return type:

pandas.DataFrame

gcpy.profile.gprofng_functions.gprofng_plot_functions(dframe, filename, n_min, n_max)[source]

Plots functions having the largest exclusive time from gprofng profiling output.

Parameters:
  • dframe (pandas.DataFrame) – Profiling information.

  • filename (str) – Name of the file.

  • n_min (int) – Display functions starting with this index.

  • n_max (int) – Display functions ending with this index.

gcpy.profile.gprofng_functions.main()[source]

Main program. Reads arguments and calls routines to read and plot function profiling data from gprofng output.