Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Download ¶
type Download struct {
// contains filtered or unexported fields
}
Download represents the download statistics.
type Stats ¶
type Stats interface {
// GetDownloads returns the download statistics.
GetDownloads() []*Download
// CollectClientMetrics collects the client metrics and resets the metrics.
CollectClientMetrics(ctx context.Context, downloader string, fileSizeLevel backend.FileSizeLevel) error
// ResetClientMetrics resets the client metrics.
ResetClientMetrics(ctx context.Context) error
// PrettyPrint prints the statistics in a pretty format.
PrettyPrint() error
}
Stats represents the statistics of the benchmark.
Click to show internal directories.
Click to hide internal directories.