summaryrefslogtreecommitdiff
path: root/direction/direction.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2023-12-13 19:56:03 -0500
committerWill Hawkins <[email protected]>2024-01-04 19:10:37 -0500
commitf3990f950277c2f61e0e1811b4b8a81fc0219da4 (patch)
tree6969e4ac2c4e94e75fe2e0c5581da5c07785dce8 /direction/direction.go
parent552f01ad73248474553ce471695745db58c862ea (diff)
[Feature] Support for testing upload/download in parallel
Use the `--rpm.parallel` to test in parallel mode. The default testing mode is serial. Signed-off-by: Will Hawkins <[email protected]>
Diffstat (limited to 'direction/direction.go')
-rw-r--r--direction/direction.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/direction/direction.go b/direction/direction.go
index 865a273..9b41b26 100644
--- a/direction/direction.go
+++ b/direction/direction.go
@@ -15,11 +15,14 @@
package direction
import (
+ "context"
+
"github.com/network-quality/goresponsiveness/datalogger"
"github.com/network-quality/goresponsiveness/debug"
"github.com/network-quality/goresponsiveness/lgc"
"github.com/network-quality/goresponsiveness/probe"
"github.com/network-quality/goresponsiveness/rpm"
+ "github.com/network-quality/goresponsiveness/series"
)
type Direction struct {
@@ -37,4 +40,9 @@ type Direction struct {
ExtendedStatsEligible bool
StableThroughput bool
StableResponsiveness bool
+ SelfRtts series.WindowSeries[float64, uint64]
+ ForeignRtts series.WindowSeries[float64, uint64]
+ ThroughputActivityCtx *context.Context
+ ThroughputActivityCtxCancel *context.CancelFunc
+ FormattedResults string
}