diff options
| author | Will Hawkins <[email protected]> | 2023-02-10 18:47:42 -0500 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2023-02-10 18:47:42 -0500 |
| commit | a2aeaef3cd55c3c6e5977b77d1ed146bb2b20e23 (patch) | |
| tree | 89720ec9788b1df50a3599b5cf4fc82c19898e73 /rpm | |
| parent | 14d738b379c5a64f70c77795f06b3716eb6c4c57 (diff) | |
[Cleanup] Long-lines cleanup
Diffstat (limited to 'rpm')
| -rw-r--r-- | rpm/rpm.go | 24 |
1 files changed, 21 insertions, 3 deletions
@@ -447,7 +447,10 @@ func LoadGenerator( ) } // TODO: Do we add null connection to throughput? and how do we define it? Throughput -1 or 0? - granularThroughputDatapoints = append(granularThroughputDatapoints, GranularThroughputDataPoint{now, 0, uint32(i), 0, 0, ""}) + granularThroughputDatapoints = append( + granularThroughputDatapoints, + GranularThroughputDataPoint{now, 0, uint32(i), 0, 0, ""}, + ) continue } allInvalid = false @@ -473,7 +476,17 @@ func LoadGenerator( } } } - granularThroughputDatapoints = append(granularThroughputDatapoints, GranularThroughputDataPoint{now, instantaneousConnectionThroughput, uint32(i), tcpRtt, tcpCwnd, ""}) + granularThroughputDatapoints = append( + granularThroughputDatapoints, + GranularThroughputDataPoint{ + now, + instantaneousConnectionThroughput, + uint32(i), + tcpRtt, + tcpCwnd, + "", + }, + ) } // For some reason, all the lgcs are invalid. This likely means that @@ -489,7 +502,12 @@ func LoadGenerator( } // We have generated a throughput calculation -- let's send it back to the coordinator - throughputDataPoint := ThroughputDataPoint{time.Now(), instantaneousTotalThroughput, len(*loadGeneratingConnections.LGCs), granularThroughputDatapoints} + throughputDataPoint := ThroughputDataPoint{ + time.Now(), + instantaneousTotalThroughput, + len(*loadGeneratingConnections.LGCs), + granularThroughputDatapoints, + } throughputCalculations <- throughputDataPoint // Just add another constants.AdditiveNumberOfLoadGeneratingConnections flows -- that's our only job now! |
