diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-07-08 14:47:53 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-07-08 14:47:53 +0200 |
commit | c4598ca93a72d5176d4488813d38abcaad571123 (patch) | |
tree | 8c228d66b7499d6fef741fe57eff094b63e8ee49 /bin | |
parent | 7b107ef820684cb6aa7f4fe87d2e462e4fffb5c9 (diff) |
analyze-archive: show EnergyTrace sync mode
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/analyze-archive.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index 908915c..74a2d41 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -377,7 +377,9 @@ if __name__ == "__main__": if raw_data.version <= 1: data_source = "MIMOSA" elif raw_data.version == 2: - data_source = "MSP430 EnergyTrace" + data_source = "MSP430 EnergyTrace, sync={}".format( + raw_data.ptalog["opt"]["energytrace"]["sync"] + ) print(f" Data source ID: {raw_data.version} ({data_source})") preprocessed_data = raw_data.get_preprocessed_data() |