Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions preciceprofiling/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,13 @@ def groupFor(name):
entry.name = name
pkt.sequence_flags = TracePacket.SEQ_NEEDS_INCREMENTAL_STATE

# add data
if e.data:
for key, value in json.loads(e.data).items():
annotation = pkt.track_event.debug_annotations.add()
annotation.name = key
annotation.int_value = value

# end leftover events
for a in active:
pkt = builder.add_packet()
Expand Down