forked from M-Labs/artiq
1
0
Fork 0

comm_analyzer: add set_end_time call

This commit is contained in:
Simon Renblad 2024-01-15 11:00:24 +08:00 committed by Sébastien Bourdeauducq
parent 3af4c9d517
commit e393b3ab37
1 changed files with 1 additions and 0 deletions

View File

@ -686,6 +686,7 @@ def decoded_dump_to_target(manager, devices, dump, uniform_interval):
if isinstance(dump.messages[-1], StoppedMessage):
m = dump.messages[-1]
end_time = get_message_time(m)
manager.set_end_time(end_time)
messages = dump.messages[:-1]
else:
logger.warning("StoppedMessage missing")