Files
BT411/scratchpad/night14/sp4_run.out
T

154 lines
4.1 KiB
Plaintext

+ . /c/git/bt411/scratchpad/night6/bench_common.sh
++ BT_ROOT=/c/git/bt411
++ BT_EXE=/c/git/bt411/build/Release/btl4.exe
++ BT_PIDFILE=/tmp/bt_bench_pids.1408
+ cd /c/git/bt411/content
+ taskkill //F //IM btl4.exe
+ sleep 2
+ rm -f sp4_a.log sp4_b.log sp4_c.log sp4_d.log sp4_relay.log
+ bt_expert_egg MP.EGG SP4.EGG
+ sed 's/^experience=.*/experience=expert/' MP.EGG
+ sed -i 's/^map=.*/map=grass/; s/^time=.*/time=day/; s/^vehicle=.*/vehicle=madcat/' SP4.EGG
+ launch sp4_d.log 0xC0 1801
+ export BT_GOTO=enemy BT_GOTO_STOP=150 BT_AUTOFIRE=1 BT_AF_PERIOD=4 BT_MP_LOG=1
+ BT_GOTO=enemy
+ BT_GOTO_STOP=150
+ BT_AUTOFIRE=1
+ BT_AF_PERIOD=4
+ BT_MP_LOG=1
+ '[' sp4_d.log = sp4_a.log ']'
+ bt_launch sp4_d.log SP4.EGG 0xC0 -net 1801
+ local log=sp4_d.log egg=SP4.EGG aff=0xC0
+ shift 3
+ bt_player_env
+ export BT_PLATFORM=glass
+ BT_PLATFORM=glass
+ export BT_START_INSIDE=1
+ BT_START_INSIDE=1
+ export BT_DEV_GAUGES=1
+ BT_DEV_GAUGES=1
+ export BT_LOG=sp4_d.log BT_AFFINITY=0xC0
+ BT_LOG=sp4_d.log
+ BT_AFFINITY=0xC0
+ for _i in 1 2 3 4 5
+ '[' -f /proc/1416/winpid ']'
+ /c/git/bt411/build/Release/btl4.exe -egg SP4.EGG -net 1801
+ cat /proc/1416/winpid
+ break
+ sleep 2
+ launch sp4_c.log 0x30 1701
+ export BT_GOTO=enemy BT_GOTO_STOP=150 BT_AUTOFIRE=1 BT_AF_PERIOD=4 BT_MP_LOG=1
+ BT_GOTO=enemy
+ BT_GOTO_STOP=150
+ BT_AUTOFIRE=1
+ BT_AF_PERIOD=4
+ BT_MP_LOG=1
+ '[' sp4_c.log = sp4_a.log ']'
+ bt_launch sp4_c.log SP4.EGG 0x30 -net 1701
+ local log=sp4_c.log egg=SP4.EGG aff=0x30
+ shift 3
+ bt_player_env
+ export BT_PLATFORM=glass
+ BT_PLATFORM=glass
+ export BT_START_INSIDE=1
+ BT_START_INSIDE=1
+ export BT_DEV_GAUGES=1
+ BT_DEV_GAUGES=1
+ export BT_LOG=sp4_c.log BT_AFFINITY=0x30
+ BT_LOG=sp4_c.log
+ BT_AFFINITY=0x30
+ for _i in 1 2 3 4 5
+ '[' -f /proc/1421/winpid ']'
+ /c/git/bt411/build/Release/btl4.exe -egg SP4.EGG -net 1701
+ cat /proc/1421/winpid
+ break
+ sleep 2
+ launch sp4_b.log 0x0C 1601
+ export BT_GOTO=enemy BT_GOTO_STOP=150 BT_AUTOFIRE=1 BT_AF_PERIOD=4 BT_MP_LOG=1
+ BT_GOTO=enemy
+ BT_GOTO_STOP=150
+ BT_AUTOFIRE=1
+ BT_AF_PERIOD=4
+ BT_MP_LOG=1
+ '[' sp4_b.log = sp4_a.log ']'
+ bt_launch sp4_b.log SP4.EGG 0x0C -net 1601
+ local log=sp4_b.log egg=SP4.EGG aff=0x0C
+ shift 3
+ bt_player_env
+ export BT_PLATFORM=glass
+ BT_PLATFORM=glass
+ export BT_START_INSIDE=1
+ BT_START_INSIDE=1
+ export BT_DEV_GAUGES=1
+ BT_DEV_GAUGES=1
+ export BT_LOG=sp4_b.log BT_AFFINITY=0x0C
+ BT_LOG=sp4_b.log
+ BT_AFFINITY=0x0C
+ for _i in 1 2 3 4 5
+ '[' -f /proc/1426/winpid ']'
+ /c/git/bt411/build/Release/btl4.exe -egg SP4.EGG -net 1601
+ cat /proc/1426/winpid
+ break
+ sleep 2
+ launch sp4_a.log 0x03 1501
+ export BT_GOTO=enemy BT_GOTO_STOP=150 BT_AUTOFIRE=1 BT_AF_PERIOD=4 BT_MP_LOG=1
+ BT_GOTO=enemy
+ BT_GOTO_STOP=150
+ BT_AUTOFIRE=1
+ BT_AF_PERIOD=4
+ BT_MP_LOG=1
+ '[' sp4_a.log = sp4_a.log ']'
+ export BT_PERF_LOG=1 BT_GLASS_PANELS=1 BT_PLATFORM=glass
+ BT_PERF_LOG=1
+ BT_GLASS_PANELS=1
+ BT_PLATFORM=glass
+ bt_launch sp4_a.log SP4.EGG 0x03 -net 1501
+ local log=sp4_a.log egg=SP4.EGG aff=0x03
+ shift 3
+ bt_player_env
+ export BT_PLATFORM=glass
+ BT_PLATFORM=glass
+ export BT_START_INSIDE=1
+ BT_START_INSIDE=1
+ export BT_DEV_GAUGES=1
+ BT_DEV_GAUGES=1
+ export BT_LOG=sp4_a.log BT_AFFINITY=0x03
+ BT_LOG=sp4_a.log
+ BT_AFFINITY=0x03
+ for _i in 1 2 3 4 5
+ '[' -f /proc/1431/winpid ']'
+ /c/git/bt411/build/Release/btl4.exe -egg SP4.EGG -net 1501
+ cat /proc/1431/winpid
+ break
+ sleep 2
+ sleep 5
+ RELAY=1435
+ sleep 280
+ python ../tools/btconsole.py SP4.EGG 127.0.0.1:1501 127.0.0.1:1601 127.0.0.1:1701 127.0.0.1:1801
+ kill 1435
+ sleep 3
+ bt_kill_ours
+ '[' -f /tmp/bt_bench_pids.1408 ']'
+ read -r pid
+ '[' -n 13820 ']'
+ taskkill //F //PID 13820
+ read -r pid
+ '[' -n 3856 ']'
+ taskkill //F //PID 3856
+ read -r pid
+ '[' -n 13216 ']'
+ taskkill //F //PID 13216
+ read -r pid
+ '[' -n 3316 ']'
+ taskkill //F //PID 3316
+ read -r pid
+ rm -f /tmp/bt_bench_pids.1408
+ sleep 2
+ taskkill //F //IM btl4.exe
+ sleep 3
+ echo '============ RESULT ============'
============ RESULT ============
+ python -
rstat blocks=130 med=11.50ms >50ms blocks=1 (idx 0..0) maxDraw med=28.2 worst=1182.4
segperf: dirty-med=0 ms-med=0.41 ms-worst=3.56