Skip to content
Snippets Groups Projects

Multicast scripts

Merged
Ghost Userrequested to merge
feature-#511-multicast-graphics into master
1 open thread

Contains two scripts, one for multicast delivery rate, one for delay distribution.

The one for delivery rate can be used calling

[...]/toolkit/reportSummary/multicastAnalysis.py [...]\reports\multicastMessageAnalysis.txt <output file name>

Pictures look like this:

multicastTest

The one for delay distribution is multi-purpose for all message types and can be called for multicasts using

[...]/toolkit/reportSummary/delayDistributionAnalysis.py [...]\reports\messageDelayAnalysis.txt MULTICAST 1 <output file name>

Pictures look like this:

delayAnalysisTest

Please test whether you can execute (you might have to install python and maybe some python modules).

Edited by Ghost User

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added Needs Changes and removed Needs Review labels

  • 67 bins.append(maxDelay)
    68 vals.append(percentage)
    69 sumOfPercentages += percentage
    70 cumulative[maxDelay] = sumOfPercentages
    71
    72 # Plot bar chart
    73 plt.subplot(2,1,1)
    74 plt.title('Delay distribution of delivered {} messages\nPriority {}'.format(sys.argv[2], sys.argv[3]))
    75 plt.bar(bins, vals)
    76 plt.ylabel('Percentage of messages\n falling into class')
    77 plt.grid(True)
    78
    79 # Directly below, plot cumulative chart
    80 plt.subplot(2,1,2)
    81 plt.plot(bins, [cumulative[year] for year in bins])
    82 plt.xlabel('Maximum delay in minutes in delay class')
  • Ghost User mentioned in merge request !134 (merged)

    mentioned in merge request !134 (merged)

  • Ghost User added 3 commits

    added 3 commits

    • 8c51ac31 - Rename unfitting variable
    • c7f24919 - Adapt multicast graphics to python 3.6
    • 704c09fd - Change axis labels to be less precise but simpler

    Compare with previous version

  • added Needs Review and removed Needs Changes labels

  • Ghost User unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Ghost User changed the description

    changed the description

  • Ghost User mentioned in merge request !135 (merged)

    mentioned in merge request !135 (merged)

  • Ghost User mentioned in merge request !138 (merged)

    mentioned in merge request !138 (merged)

  • merged

  • Ghost User mentioned in commit caf143d2

    mentioned in commit caf143d2

  • Please register or sign in to reply
    Loading