diff options
Diffstat (limited to 'lib/loader.py')
-rw-r--r-- | lib/loader.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/loader.py b/lib/loader.py index fff515f..4cb5dc0 100644 --- a/lib/loader.py +++ b/lib/loader.py @@ -651,8 +651,12 @@ class RawData: online_trace_part["offline_aggregates"]["rel_energy_next"] = [] online_trace_part["offline_aggregates"]["timeout"] = [] elif "plot" in offline_trace_part: - online_trace_part["offline_support"] = ["power_traces"] + online_trace_part["offline_support"] = [ + "power_traces", + "timestamps", + ] online_trace_part["offline_aggregates"]["power_traces"] = list() + online_trace_part["offline_aggregates"]["timestamps"] = list() # Note: All state/transitions are 20us "too long" due to injected # active wait states. These are needed to work around MIMOSA's @@ -688,6 +692,9 @@ class RawData: online_trace_part["offline_aggregates"]["power_traces"].append( offline_trace_part["plot"][1] ) + online_trace_part["offline_aggregates"]["timestamps"].append( + offline_trace_part["plot"][0] + ) def _merge_online_and_etlog(self, measurement): # Edits self.traces_by_fileno[measurement['fileno']][*]['trace'][*]['offline'] |