danalex97 / Speer

A network discrete event simulator for peer-to-peer network modeling.
MIT License
14 stars 3 forks source link

Coroutines #53

Closed danalex97 closed 5 years ago

danalex97 commented 5 years ago

Summary: added routines and made node code to run inside observers, rather than as separate goroutines.

Changes: change the Node interface and modified Observers

Tests:

Checklist:

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 249


Changes Missing Coverage Covered Lines Changed/Added Lines %
overlay/latency_connector.go 16 18 88.89%
sdk/go/simulation.go 39 41 95.12%
capacity/capacity_map.go 0 3 0.0%
events/routines.go 35 41 85.37%
<!-- Total: 152 165 92.12% -->
Files with Coverage Reduction New Missed Lines %
overlay/latency_connector.go 1 85.96%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 237: 3.5%
Covered Lines: 1351
Relevant Lines: 1447

💛 - Coveralls