Reference¶
plot_data
¶
A set of functions to get the data series to plot for test run results.
split_metric_uncertainty(metrics: dict[str, str | UFloat], metric: str) -> tuple[float, float | None]
¶
Get the uncertainty and value from a possible uncertain metric.
Source code in src/hpc_multibench/plot/plot_data.py
get_line_plot_data(plot: LinePlotModel, all_metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> dict[str, tuple[list[float], list[float], list[float] | None, list[float] | None]]
¶
Get the data needed to plot a specified line plot for a set of runs.
Source code in src/hpc_multibench/plot/plot_data.py
get_bar_chart_data(plot: BarChartModel, all_metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> dict[str, tuple[float, float | None, int]]
¶
Get the data needed to plot a specified bar chart for a set of runs.
Source code in src/hpc_multibench/plot/plot_data.py
get_roofline_plot_data(plot: RooflinePlotModel, all_metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> tuple[RooflineDataModel, dict[str, tuple[float, float, float | None, float | None]]]
¶
Get the data needed to plot a specified roofline plot.
Source code in src/hpc_multibench/plot/plot_data.py
plot_matplotlib
¶
A set of functions using matplotlib to plot the results of a test bench run.
draw_line_plot(plot: LinePlotModel, metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> None
¶
Draw a specified line plot for a set of run outputs.
Source code in src/hpc_multibench/plot/plot_matplotlib.py
draw_bar_chart(plot: BarChartModel, metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> None
¶
Draw a specified bar chart for a set of run outputs.
Source code in src/hpc_multibench/plot/plot_matplotlib.py
draw_roofline_plot(plot: RooflinePlotModel, metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> None
¶
Draw a specified roofline plots for a set of run outputs.
Source code in src/hpc_multibench/plot/plot_matplotlib.py
plot_plotext
¶
A set of functions using plotext to plot the results of a test bench run.
draw_line_plot(this_plt: Any, plot: LinePlotModel, metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> None
¶
Draw a line plot from data using the provided plotext backend.
Source code in src/hpc_multibench/plot/plot_plotext.py
draw_bar_chart(this_plt: Any, plot: BarChartModel, metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> None
¶
Draw a line plot from data using the provided plotext backend.
Source code in src/hpc_multibench/plot/plot_plotext.py
draw_roofline_plot(this_plt: Any, plot: RooflinePlotModel, metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> None
¶
Draw a roofline plot from data using the provided plotext backend.
Source code in src/hpc_multibench/plot/plot_plotext.py
export_data
¶
A set of functions to export the results of a test bench run.
export_data(plot: ExportModel, all_metrics: list[tuple[RunConfiguration, dict[str, str | UFloat]]]) -> None
¶
Construct and export a pandas data frame from the metrics.