Skip to content

Communication Over Time: totals by default, selectable y-axis scale; reorder Tools menu - #152

Merged
ritvikrao merged 4 commits into
mainfrom
comm-over-time-yscale
Jul 27, 2026
Merged

Communication Over Time: totals by default, selectable y-axis scale; reorder Tools menu#152
ritvikrao merged 4 commits into
mainfrom
comm-over-time-yscale

Conversation

@lvkale

@lvkale lvkale commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Communication Over Time: fix rate normalization and make the y-axis scale selectable. The reader previously converted per-interval counts to rates at load time by dividing by intervalSize/1000. Since intervalSize is in microseconds, the values labeled "/s" were actually per-millisecond — 1000x larger than the label claimed — and plain totals could not be displayed at all. The data arrays now keep raw per-interval counts and scaling is applied at display time, chosen by a new radio row below the view selection:

    • Totals per interval (default) — unnormalized counts summed over the selected PEs
    • Rate (per second) — divided by the interval length in seconds (correct microsecond conversion), aggregated over selected PEs
    • Rate per PE (per second) — the above divided by the number of selected PEs, i.e. average per-PE communication intensity (multiply by PEs per node to estimate per-process/NIC load)

    In rate modes the hover popups show both the rate and the underlying total.

  • Fix a popup bug: the External Node Msgs Recv popup displayed the value from the External (PE) array instead of the External Node array.

  • Tools menu reorder (trivial, separate commit): Time Profile, Usage Profile, and Timelines are now the first three entries; the rest keep their previous order.

Testing

Built with gradle copyJarToBin (JDK 17) and verified against a 120-PE reconverse trace: all eight views display correct totals by default, the two rate modes scale and relabel the y-axis and popups as expected, and toggling the scale redraws the currently selected view immediately.

🤖 Generated with Claude Code

lvkale and others added 2 commits July 26, 2026 17:56
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ions

Previously the reader converted every per-interval count to a rate at
load time by dividing by intervalSize/1000. Since intervalSize is in
microseconds, that divisor is the interval length in milliseconds, so
the values labeled "/s" were actually per-millisecond, 1000x larger
than the label claimed. The graph also could not show plain totals.

Keep raw per-interval counts in the data arrays and apply scaling only
at display time, selected by a new row of radio buttons below the view
selection:

- Totals per interval (default): unnormalized counts summed over the
  selected PEs
- Rate (per second): counts divided by the interval length in seconds
  (correct microsecond conversion), aggregated over the selected PEs
- Rate per PE (per second): the above divided by the number of
  selected PEs, showing average per-PE communication intensity

Popups show both the rate and the underlying total in rate modes, and
plain counts otherwise. Also fix the External Node Msgs Recv popup,
which displayed the value from the External (PE) array instead of the
External Node array.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lvkale
lvkale requested a review from matthiasdiener as a code owner July 26, 2026 22:57
@lvkale
lvkale requested a review from ericjbohm July 26, 2026 23:01
@lvkale lvkale closed this Jul 27, 2026
@lvkale lvkale reopened this Jul 27, 2026
@lvkale
lvkale requested a review from ritvikrao July 27, 2026 18:14
@ritvikrao
ritvikrao merged commit da83c47 into main Jul 27, 2026
2 checks passed
@ritvikrao
ritvikrao deleted the comm-over-time-yscale branch July 27, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants