- I'm Alvis Zhao.
- I'm a software engineer.
- This is my personal website http://www.alvisisme.site.
alvisisme / android-iperf Goto Github PK
View Code? Open in Web Editor NEW编译 iperf 为 Android 系统 arm64-v8a 架构
编译 iperf 为 Android 系统 arm64-v8a 架构
解决
在iperf_api.c中
char buf[] = "/tmp/iperf3.XXXXXX";
修改为
char buf[] = "/data/local/tmp/iperf3.XXXXXX"; # 因为 Android 7 存在:/data/local/tmp/
android设备端使用命令: adb shell /data/local/tmp/iperf3 -s -i1
PC端使用命令(Power shell):./iperf3 -c 192.168.0.100 -i1 -t90
Accepted connection from 192.168.0.102, port 54227
[ 5] local 192.168.0.100 port 5201 connected to 192.168.0.102 port 54228
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.02 sec 2.98 MBytes 24.6 Mbits/sec
[ 5] 1.02-2.00 sec 5.29 MBytes 45.1 Mbits/sec
[ 5] 2.00-3.00 sec 5.30 MBytes 44.5 Mbits/sec
[ 5] 3.00-4.00 sec 5.64 MBytes 47.3 Mbits/sec
[ 5] 4.00-5.00 sec 5.00 MBytes 41.9 Mbits/sec
[ 5] 5.00-6.00 sec 4.81 MBytes 40.3 Mbits/sec
[ 5] 6.00-7.00 sec 4.90 MBytes 41.0 Mbits/sec
[ 5] 7.00-8.00 sec 4.87 MBytes 41.0 Mbits/sec
[ 5] 8.00-9.00 sec 5.50 MBytes 46.1 Mbits/sec
[ 5] 9.00-10.00 sec 5.32 MBytes 44.6 Mbits/sec
[ 5] 10.00-11.00 sec 3.47 MBytes 29.1 Mbits/sec
[ 5] 11.00-12.00 sec 5.26 MBytes 44.2 Mbits/sec
[ 5] 12.00-13.00 sec 5.56 MBytes 46.6 Mbits/sec
[ 5] 13.00-14.00 sec 6.10 MBytes 51.2 Mbits/sec
[ 5] 14.00-15.00 sec 5.95 MBytes 49.9 Mbits/sec
[ 5] 15.00-16.00 sec 546 KBytes 4.47 Mbits/sec
[ 5] 16.00-17.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 17.00-18.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 18.00-19.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 19.00-20.00 sec 470 KBytes 3.86 Mbits/sec
[ 5] 20.00-21.00 sec 4.33 MBytes 36.3 Mbits/sec
[ 5] 21.00-22.00 sec 4.01 MBytes 33.6 Mbits/sec
[ 5] 22.00-23.00 sec 1.96 MBytes 16.5 Mbits/sec
[ 5] 23.00-24.00 sec 2.34 MBytes 19.6 Mbits/sec
[ 5] 24.00-25.00 sec 4.29 MBytes 36.0 Mbits/sec
[ 5] 25.00-26.00 sec 343 KBytes 2.80 Mbits/sec
[ 5] 26.00-27.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 27.00-28.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 28.00-29.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 29.00-30.00 sec 905 KBytes 7.42 Mbits/sec
[ 5] 30.00-31.00 sec 5.12 MBytes 42.9 Mbits/sec
[ 5] 31.00-32.00 sec 5.02 MBytes 42.0 Mbits/sec
[ 5] 32.00-33.00 sec 5.25 MBytes 44.2 Mbits/sec
[ 5] 33.00-34.00 sec 5.28 MBytes 44.3 Mbits/sec
[ 5] 34.00-35.00 sec 5.40 MBytes 45.3 Mbits/sec
[ 5] 35.00-36.00 sec 578 KBytes 4.73 Mbits/sec
[ 5] 36.00-37.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 37.00-38.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 38.00-39.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 39.00-40.00 sec 90.9 KBytes 746 Kbits/sec
[ 5] 40.00-41.00 sec 2.05 MBytes 17.2 Mbits/sec
[ 5] 41.00-42.00 sec 2.86 MBytes 24.0 Mbits/sec
[ 5] 42.00-43.00 sec 4.26 MBytes 35.6 Mbits/sec
[ 5] 43.00-44.00 sec 2.80 MBytes 23.5 Mbits/sec
[ 5] 44.00-45.00 sec 3.10 MBytes 26.0 Mbits/sec
[ 5] 45.00-46.00 sec 498 KBytes 4.08 Mbits/sec
[ 5] 46.00-47.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 47.00-48.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 48.00-49.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 48.00-49.00 sec 0.00 Bytes 0.00 bits/sec
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.