Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to get a network link's usage during the simulation #182

Closed
5 tasks done
henricasanova opened this issue Jun 16, 2020 · 3 comments · Fixed by #194
Closed
5 tasks done

Add a way to get a network link's usage during the simulation #182

henricasanova opened this issue Jun 16, 2020 · 3 comments · Fixed by #194
Assignees
Labels
Milestone

Comments

@henricasanova
Copy link
Contributor

henricasanova commented Jun 16, 2020

This feature could be useful for the dashboard or for pedagogic activities in which we'd like to display network traffic, perhaps integrating it into the JSON upon request by the user

  • Implement necessary methods in Simulation.cpp
  • Implement relevant SimulationOutput Timestamp stuff
  • Implement a BandwidthMeterService (just like power-meter, starts on whatever hosts, and is given a link to monitor)
  • Augment the JSON scheme
  • Add the "save to JSON" stuff (which is disabled by default)
@henricasanova henricasanova self-assigned this Jun 16, 2020
@henricasanova henricasanova added this to the 1.7 milestone Jun 16, 2020
henricasanova added a commit that referenced this issue Jun 16, 2020
…get a link

bandwidth declared value, and to get current link bandwidth usage.
@henricasanova
Copy link
Contributor Author

Turns out SimGrid now provides all that we need to get link bandwidth usage. So that is now part of the Simulation class's API.

@willkoch willkoch self-assigned this Jun 30, 2020
@willkoch
Copy link
Contributor

Timestamp and functions added in branch, only thing remaining is to create the json output.

@willkoch
Copy link
Contributor

Feature completed in branch.

@willkoch willkoch linked a pull request Jul 30, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants