I.MX6 Android netperf

/*****************************************************************************
 *                       I.MX6 Android netperf
 * 说明:
 *     之前移植iperf3网络测试工具不成功,本来想再移植一个iperf2来试一下,但是
 * 在检查Android源码系统的时候不小心看到netperf文件夹,查了点资料,貌似可以实
 * 现iperf的功能,于是又省了点事。
 *
 *                                    2016-4-18 深圳 南山平山村 曾剑锋
 ****************************************************************************/


一、参考文章:
    1. WLAN Throughput Test
        http://processors.wiki.ti.com/index.php/WLAN_Throughput_Test
    2. netperf 与网络性能测量
        https://www.ibm.com/developerworks/cn/linux/l-netperf/
    3. Android 移植iperf
        http://blog.chinaunix.net/uid-9185047-id-470236.html
    4. Android 移植之 iperf
        http://blog.csdn.net/linweig/article/details/5640689

二、Android自带netperf网络测试工具:
    zengjf@zengjf:~/myandroid/external$ ls netperf/
    Android.mk         netcpu_ntperf.c    netperf_version.h  nettest_sdp.c
    CleanSpec.mk       netcpu_osx.c       netserver.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      nettest_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
    zengjf@zengjf:~/myandroid/external$ 

三、查看系统文件:
    zengjf@zengjf:~/myandroid/out/target/product/sabresd_6dq/system$ ls xbin/net*
    xbin/netperf  xbin/netserver
    zengjf@zengjf:~/myandroid/out/target/product/sabresd_6dq/system$ 

 

posted on 2016-04-18 09:45  zengjf  阅读(607)  评论(0编辑  收藏  举报

导航