For measuring the throughput of this loop back data, please follow the following steps:
1. Measure the time difference between start and stop of the application. This can be done by a timer or a stopwatch.
2. Find the number of bytes transmitted. This is provided by the byte counters in the application as shown below.
3. Once you get the number of bytes transmitted in a given time, you can calculate the bandwidth by just dividing the total number of bytes with the time difference.