From a5b0d06edfa3785fe26badda5f7419395d4a63af Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 11 Jan 2024 12:15:01 +0100 Subject: move --plot-param definition to cli.py --- bin/analyze-archive.py | 10 ---------- bin/analyze-kconfig.py | 10 ---------- bin/analyze-log.py | 10 ---------- bin/analyze-timing.py | 7 ------- 4 files changed, 37 deletions(-) (limited to 'bin') diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index 1a83bfe..e6fbe8e 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -181,16 +181,6 @@ if __name__ == "__main__": parser.add_argument( "--no-cache", action="store_true", help="Do not load cached measurement results" ) - parser.add_argument( - "--plot-param", - metavar="::[:gplearn function][;:::[function];...])", - type=str, - help="Plot measurements for by . " - "X axis is parameter value. " - "Plots the model function as one solid line for each combination of non- parameters. " - "Also plots the corresponding measurements. " - "If gplearn function is set, it is plotted using dashed lines.", - ) parser.add_argument( "--plot-traces", metavar="NAME", diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index 68e4668..9954656 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -150,16 +150,6 @@ def main(): default=list(), help="table: show LUT, model, and static prediction error for each key and attribute.", ) - parser.add_argument( - "--plot-param", - metavar="::[:gplearn function][;:::[function];...])", - type=str, - help="Plot measurements for by . " - "X axis is parameter value. " - "Plots the model function as one solid line for each combination of non- parameters. " - "Also plots the corresponding measurements. " - "If gplearn function is set, it is plotted using dashed lines.", - ) parser.add_argument("kconfig_path", type=str, help="Path to Kconfig file") parser.add_argument( "model", diff --git a/bin/analyze-log.py b/bin/analyze-log.py index 2ac1e84..0c30b3b 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -36,16 +36,6 @@ def main(): formatter_class=argparse.RawDescriptionHelpFormatter, description=__doc__ ) dfatool.cli.add_standard_arguments(parser) - parser.add_argument( - "--plot-param", - metavar="::[;::;...])", - type=str, - help="Plot measurements for by . " - "X axis is parameter value. " - "Plots the model function as one solid line for each combination of non- parameters. " - "Also plots the corresponding measurements. " - "If gplearn function is set, it is plotted using dashed lines.", - ) parser.add_argument( "--show-quality", choices=["table"], diff --git a/bin/analyze-timing.py b/bin/analyze-timing.py index 576c6ad..bd9a81b 100755 --- a/bin/analyze-timing.py +++ b/bin/analyze-timing.py @@ -14,13 +14,6 @@ Options: Plot all mesurements for without regard for parameter values. X axis is measurement number/id. ---plot-param= [gplearn function][; [function];...] - Plot measurements for by . - X axis is parameter value. - Plots the model function as one solid line for each combination of non- - parameters. Also plots the corresponding measurements. - If gplearn function is set, it is plotted using dashed lines. - --info Show parameter names and values -- cgit v1.2.3