summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/analyze-archive.py2
-rwxr-xr-xbin/analyze-kconfig.py2
-rwxr-xr-xbin/analyze-log.py2
-rw-r--r--doc/analysis-visual.md11
-rw-r--r--doc/model-visual.md6
5 files changed, 17 insertions, 6 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py
index e6fbe8e..9e5d4be 100755
--- a/bin/analyze-archive.py
+++ b/bin/analyze-archive.py
@@ -817,6 +817,8 @@ if __name__ == "__main__":
attribute,
model.param_index(param_name),
extra_function=function,
+ output=f"{state_or_trans}-{attribute}-{param_name}.pdf",
+ show=not args.non_interactive,
)
if args.export_dref:
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index 9954656..78435b7 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -421,6 +421,8 @@ def main():
attribute,
model.param_index(param_name),
extra_function=function,
+ output=f"{state_or_trans}-{attribute}-{param_name}.pdf",
+ show=not args.non_interactive,
)
if args.cross_validate:
diff --git a/bin/analyze-log.py b/bin/analyze-log.py
index 0c30b3b..1d92bc7 100755
--- a/bin/analyze-log.py
+++ b/bin/analyze-log.py
@@ -276,7 +276,7 @@ def main():
title=state_or_trans,
ylabel=attribute,
xlabel=param_name,
- output=f"{state_or_trans} {attribute} {param_name}.pdf",
+ output=f"{state_or_trans}-{attribute}-{param_name}.pdf",
show=not args.non_interactive,
)
diff --git a/doc/analysis-visual.md b/doc/analysis-visual.md
index b069bd0..1ac4924 100644
--- a/doc/analysis-visual.md
+++ b/doc/analysis-visual.md
@@ -6,8 +6,12 @@ The parameter and NFP filters from [Textual Data Analysis](analysis-textual.md)
There are two ways of visualizing all measured data independent of their parameters:
-* `--boxplot-unparam PREFIX` writes boxplots of all observations to PREFIX(name)-(attribute).pdf and combined boxplots to PREFIX(name).pdf. These may be helpful to see which observations are stable and which show a lot of variance, possibly due to the influence of parameters.
-* `--plot-unparam=name:attribute:ylabel` plots all observations of name/attribute in the order in which they were observed. Useful to identify trends (especially when the parameter variation scheme is known as well) and interference.
+* `--boxplot-unparam PREFIX` writes boxplots of all observations to PREFIX(name)-(attribute).pdf and combined boxplots to PREFIX(name).pdf.
+ These may be helpful to see which observations are stable and which show a lot of variance, possibly due to the influence of parameters.
+ By default, the boxplots are also shown interactively; use `--non-interactive` to display that.
+* `--plot-unparam=name:attribute:ylabel` plots all observations of name/attribute in the order in which they were observed.
+ Useful to identify trends (especially when the parameter variation scheme is known as well) and interference.
+ The plot is shown interactively, but not written to the filesystem.
## Influence of a single Non-Functional Property on a Performance Attribute
@@ -23,6 +27,7 @@ a different colour. Combining it with `--filter-param` and `--ignore-param`
may help de-clutter the plot.
dfatool will additionally plot the predicted performance for each distinct
-configuration as a solid line.
+configuration as a solid line. The plot is saved to (name)-(attribute)-(parameter).pdf
+and shown interactively unless `--non-interactive` has been specified.
![](/media/n_dpus-dpu_alloc-1.png)
diff --git a/doc/model-visual.md b/doc/model-visual.md
index 564cf3e..25607ff 100644
--- a/doc/model-visual.md
+++ b/doc/model-visual.md
@@ -19,5 +19,7 @@ In case of regression forests (XGBoost), dfatool exports the individual trees to
## Plotting Model Predictions for Individual Configurations
-`--plot-param name:attribute:label` displays both raw readings (as points, see
-[[analysis-visual.md]]) and the corresponding performance model (as lines).
+`--plot-param name:attribute:parameter` displays both raw readings (as points,
+see [[analysis-visual.md]]) and the corresponding performance model (as lines).
+The plot is saved to (name)-(attribute)-(parameter).pdf and shown interactively
+unless `--non-interactive` has been specified.