gcpy.profile.vtune_plot_hotspots

Plots the top functions by exclusive time from an Intel VTune profile of hotspots listed by function.

Functions

main()

Main program.

vtune_plot_functions(dframe, filename, ...)

Plots functions having the largest CPU time as listed in an Intel Vtune hotspots report.

vtune_read_hotspots(filename)

Reads an Intel VTune hotspot data report and returns a pandas.DataFrame object with the results.

gcpy.profile.vtune_plot_hotspots.vtune_read_hotspots(filename)[source]

Reads an Intel VTune hotspot data report and returns a pandas.DataFrame object with the results.

Parameters:

filename (str) – CSV file containing hotspot data.

Returns:

dframe – DataFrame with hotspot data.

Return type:

pandas.DataFrame

gcpy.profile.vtune_plot_hotspots.vtune_plot_functions(dframe, filename, n_min, n_max)[source]

Plots functions having the largest CPU time as listed in an Intel Vtune hotspots report.

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.vtune_plot_hotspots.main()[source]

Main program. Reads arguments and calls routines to read and plot hotspots from Intel VTune output.