ContriHUB / Congestion-Control-Simulator

Simulates TCP congestion control algorithms
MIT License
0 stars 5 forks source link

Add Logging for Simulation Results #3

Open Nandika-A opened 3 days ago

Nandika-A commented 3 days ago

🚀Feature Request

Description

Please describe the problem you are trying to solve.
Currently, the simulator does not provide any functionality to save or log the simulation results for further analysis. Users must manually monitor the output during the simulation, making it difficult to retain data for review or comparisons after the simulation has ended.


Why is this feature important to you?

Is your feature request related to a problem? Please describe.
Logging simulation results is crucial for users who want to analyze performance metrics like throughput, latency, and packet loss after the simulation. It is especially useful for comparing different congestion control algorithms or for debugging purposes. Without logging, users have no way to retain detailed results for future reference or deeper analysis.


Describe the solution you'd like

Please describe the desired behavior.

Example log file structure in CSV format:

Timestamp, Algorithm, Packet Loss (%), Average Latency (ms), Throughput (Mbps)
2024-10-07 10:23:45, TCP, 1.5, 50, 100
2024-10-07 10:24:10, Cubic, 2.0, 55, 95

Additional context

Please describe alternative solutions or features you have considered.

haseeb-555 commented 1 day ago

Thanks for assigning the issue i am working on it