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
MbpsdoubleMegabits per second, over the whole transfer.
PeakBytesPerSeconddoubleThe best quarter of a second, in bytes per second.
ByteslongHow many bytes went, in all.
ElapsedTimeSpanHow long they took.
Fields
None
public static readonly Throughput None
Field Value
Properties
Bytes
How many bytes went, in all.
public long Bytes { get; init; }
Property Value
Elapsed
How long they took.
public TimeSpan Elapsed { get; init; }
Property Value
Mbps
Megabits per second, over the whole transfer.
public double Mbps { get; init; }
Property Value
PeakBytesPerSecond
The best quarter of a second, in bytes per second.
public double PeakBytesPerSecond { get; init; }