/***************************************************************************** * I.MX6 Android Net Perf * Description: * Before the transplant IPERF3 Network test tool did not succeed, would like to transplant a iperf2 to try, but * in the examination of Android source system accidentally see the Netperf folder, check the information, seemingly can be real * now iperf function, so the province A little something. * 2016-4-18 Shenzhen Nanshan Ping Shan village Zengjianfeng ************************************************************ ****************/First, reference article:1. WLAN Throughput Test http://processors.wiki.ti.com/index.php/wlan_throughput_test 2. Netperf and network performance measurements https://www.ibm.com/developerworks/cn/linux/l-netperf/ 3. Android porting Iperf http://blog.chinaunix.net/uid-9185047-id-470236.html 4. Android porting Iperf http://blog.csdn.net/linweig/article/details/5640689second, the android comes with Netperf Network test tool: [email protected]:~/myandroid/external$ ls netperf/android.mk netcpu_ntperf.c netperf_version.h nettest_sdp.c cleanspec.mk netcpu_osx.c NE TSERVER.C nettest_sdp.h config.h netcpu_perfstat.c netsh.c nettest_unix.c hist.h netcpu_procstat.c netsh.h nettest_unix.h module_license_hp netcpu_pstat.c nettest_bsd.c Net TEST_XTI.C netcpu.h netcpu_pstatnew.c nettest_bsd.h nettest_xti.h netcpu_kstat10.c netcpu_sysctl.c NETTEST_DLPI.C NOTICE netcpu_kstat.c netlib.c nettest_dlpi.h netcpu_looper.c netlib.h NETTEST_SCTP.C netcpu_none.c NETPERF.C nettest_sctp.h [email protected]:~/myandroid/external$ Third, view system files: [email protected]:~/myandroid/ out/target/product/sabresd_6dq/system$ ls xbin/net*XBin/netperf xbin/NetServer [email protected]:~/myandroid/ out/target/product/sabresd_6dq/system$
i.mx6 Android Netperf