From 27cb361e14e68a9fba5cfd6095f2b88862657fbe Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 24 Jul 2019 15:20:16 +0200 Subject: add timing analysis script --- bin/analyze-timing.py | 321 ++++++++++++++++++++++++++++++++++++++++++++++++++ lib/dfatool.py | 3 + 2 files changed, 324 insertions(+) create mode 100755 bin/analyze-timing.py diff --git a/bin/analyze-timing.py b/bin/analyze-timing.py new file mode 100755 index 0000000..b0aaaca --- /dev/null +++ b/bin/analyze-timing.py @@ -0,0 +1,321 @@ +#!/usr/bin/env python3 +""" +analyze-timing -- generate analytic energy model from annotated OnboardTimerHarness traces. + +Usage: +PYTHONPATH=lib bin/analyze-timing.py [options] + +analyze-timing generates an analytic energy model (``AnalyticModel``)from one or more annotated +traces generated by generate-dfa-benchmark using OnboardTimerHarness. By default, it does nothing else -- +use one of the --plot-* or --show-* options to examine the generated model. + +Options: +--plot-unparam=::[;::