Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
androidapp/ | 23-Nov-2023 | - | 186 | 140 | ||
BUILD.gn | D | 23-Nov-2023 | 4.6 KiB | 165 | 136 | |
README | D | 23-Nov-2023 | 1.1 KiB | 36 | 25 | |
config_reader.cc | D | 23-Nov-2023 | 1.8 KiB | 54 | 37 | |
config_reader.h | D | 23-Nov-2023 | 1.4 KiB | 53 | 33 | |
create_network_tester_config.py | D | 23-Nov-2023 | 1 KiB | 31 | 17 | |
jni.cpp | D | 23-Nov-2023 | 1.9 KiB | 64 | 47 | |
network_tester_config.proto | D | 23-Nov-2023 | 328 | 15 | 11 | |
network_tester_packet.proto | D | 23-Nov-2023 | 400 | 19 | 16 | |
network_tester_unittest.cc | D | 23-Nov-2023 | 1.2 KiB | 37 | 20 | |
packet_logger.cc | D | 23-Nov-2023 | 1.7 KiB | 45 | 21 | |
packet_logger.h | D | 23-Nov-2023 | 1.2 KiB | 47 | 26 | |
packet_sender.cc | D | 23-Nov-2023 | 4.2 KiB | 139 | 110 | |
packet_sender.h | D | 23-Nov-2023 | 2 KiB | 68 | 44 | |
parse_packet_log.py | D | 23-Nov-2023 | 4.5 KiB | 148 | 108 | |
server.cc | D | 23-Nov-2023 | 700 | 21 | 9 | |
test_controller.cc | D | 23-Nov-2023 | 4.6 KiB | 133 | 110 | |
test_controller.h | D | 23-Nov-2023 | 2.8 KiB | 91 | 64 |
README
1This file explains how to run the network tester and how to analyze the results. 2 3create config files 4=================== 5use create_network_tester_config.py to create config files. 6you can add or change the AddConfig call in the main function to create a 7the desired network config. 8 9run network_tester_server 10========================= 11place the network config file next to the server binary and name it 12"server_config.dat". 13 14the network_tester_server should run on a server with a public IP address. 15 16the log file of network_tester_server will be created next to the binary with 17the name "server_packet_log.dat" 18 19 20run NetworkTesterMobile (apk) 21============================= 22change the IP and the port in the jni.cpp file and set it to the port and IP 23you run the network_tester_server on. 24 25place the network config file as "/mnt/sdcard/network_tester_client_config.dat" 26on the tester android phone. 27 28The log file of network_tester_server will be created at 29"/mnt/sdcard/network_tester_client_packet_log.dat" 30 31 32analyze the results 33==================== 34run "python parse_packet_log.py -f <log_file_to_parse>" to analyze the 35log results. 36