Skip to content

Commit

Permalink
Show the duration of each span on hover text. (#2015)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihincks authored Nov 5, 2024
1 parent 6f0c7f8 commit 03ddc8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qiskit_ibm_runtime/visualization/draw_execution_spans.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"<b>{name}[{idx}]</b>",
"<b>&nbsp;&nbsp;&nbsp;Start:</b> {span.start:%Y-%m-%d %H:%M:%S.%f}",
"<b>&nbsp;&nbsp;&nbsp;Stop:</b> {span.stop:%Y-%m-%d %H:%M:%S.%f}",
"<b>&nbsp;&nbsp;&nbsp;Duration:</b> {span.duration:.4g}s",
"<b>&nbsp;&nbsp;&nbsp;Size:</b> {span.size}",
"<b>&nbsp;&nbsp;&nbsp;Pub Indexes:</b> {idxs}",
]
Expand Down

0 comments on commit 03ddc8a

Please sign in to comment.