public void PrintStatsDiff(ref DeviceStats other, ulong nanos) { Console.WriteLine("{0} RX: {1} Mbit/s {2} Mpps", this.Device?.PciAddress, DiffMbit(this.RxBytes, other.RxBytes, this.RxPackets, other.RxPackets, nanos), DiffMpps(this.RxPackets, other.RxPackets, nanos) ); Console.WriteLine("{0} TX: {1} Mbit/s {2} Mpps", this.Device?.PciAddress, DiffMbit(this.TxBytes, other.TxBytes, this.TxPackets, other.TxPackets, nanos), DiffMpps(this.TxPackets, other.TxPackets, nanos) ); }
public abstract void ReadStats(ref DeviceStats stats);