How is bandwidth measured?

We sample the ethernet port on the switch every five minutes to determine how much data your machine is moving. We measure both incoming and outgoing traffic.