Table of Contents

Class Throughput

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

How fast bytes went one way.

public sealed record Throughput : IEquatable<Throughput>
Inheritance
Throughput
Implements
Inherited Members

Constructors

Throughput(double, double, long, TimeSpan)

How fast bytes went one way.

public Throughput(double Mbps, double PeakBytesPerSecond, long Bytes, TimeSpan Elapsed)

Parameters

Mbps double

Megabits per second, over the whole transfer.

PeakBytesPerSecond double

The best quarter of a second, in bytes per second.

Bytes long

How many bytes went, in all.

Elapsed TimeSpan

How long they took.

Fields

None

public static readonly Throughput None

Field Value

Throughput

Properties

Bytes

How many bytes went, in all.

public long Bytes { get; init; }

Property Value

long

Elapsed

How long they took.

public TimeSpan Elapsed { get; init; }

Property Value

TimeSpan

Mbps

Megabits per second, over the whole transfer.

public double Mbps { get; init; }

Property Value

double

PeakBytesPerSecond

The best quarter of a second, in bytes per second.

public double PeakBytesPerSecond { get; init; }

Property Value

double