summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-07-14 16:59:14 +0200
committerLennart <lekaiser@uos.de>2020-07-14 17:14:10 +0200
commit2389623346d6b81477b8775635a0627baa90e31f (patch)
treeac53375c8f8c9da660f33cc313c62fc46d0323eb /bin
parent0a7917342cf27f18f553afdf4a65d6377f671aad (diff)
Add --no-cache option
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-archive.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py
index 5c7c97e..10fe304 100755
--- a/bin/analyze-archive.py
+++ b/bin/analyze-archive.py
@@ -104,6 +104,9 @@ Options:
--export-energymodel=<model.json>
Export energy model. Works out of the box for v1 and v2 logfiles. Requires --hwmodel for v0 logfiles.
+
+--no-cache
+ Do not load cached measurement results
"""
import getopt
@@ -304,7 +307,7 @@ if __name__ == "__main__":
try:
optspec = (
- "info "
+ "info no-cache "
"plot-unparam= plot-param= plot-traces= show-models= show-quality= "
"ignored-trace-indexes= discard-outliers= function-override= "
"export-traces= "
@@ -369,7 +372,9 @@ if __name__ == "__main__":
sys.exit(2)
raw_data = RawData(
- args, with_traces=("export-traces" in opt or "plot-traces" in opt)
+ args,
+ with_traces=("export-traces" in opt or "plot-traces" in opt),
+ skip_cache=("no-cache" in opt),
)
if "info" in opt: