forked from M-Labs/artiq
comm_analyzer: add set_end_time call
This commit is contained in:
parent
3af4c9d517
commit
2788b724e7
@ -686,6 +686,7 @@ def decoded_dump_to_target(manager, devices, dump, uniform_interval):
|
|||||||
if isinstance(dump.messages[-1], StoppedMessage):
|
if isinstance(dump.messages[-1], StoppedMessage):
|
||||||
m = dump.messages[-1]
|
m = dump.messages[-1]
|
||||||
end_time = get_message_time(m)
|
end_time = get_message_time(m)
|
||||||
|
manager.set_end_time(end_time)
|
||||||
messages = dump.messages[:-1]
|
messages = dump.messages[:-1]
|
||||||
else:
|
else:
|
||||||
logger.warning("StoppedMessage missing")
|
logger.warning("StoppedMessage missing")
|
||||||
|
Loading…
Reference in New Issue
Block a user