func (ie interfaceNumericals) Current(id *types.Interface, ii InterfaceInfo) { in, out := ie.InOut(ii) id.In = humanUnitless(uint64(in)) id.Out = humanUnitless(uint64(out)) }
func (_ interfaceBytes) Current(id *types.Interface, ii InterfaceInfo) { id.In = humanB(uint64(ii.InBytes)) id.Out = humanB(uint64(ii.OutBytes)) }