s2n-quic のecho exampleからpcap2qlogで生成したqlogファイル
{
"qlog_version": "draft-02-wip",
"description": "",
"traces": [
{
"title": "Connection 1",
"vantage_point": {
s2n-quic のecho exampleからpcap2qlogで生成したqlogファイル
{
"qlog_version": "draft-02-wip",
"description": "",
"traces": [
{
"title": "Connection 1",
"vantage_point": {
1 line = 1msec
1000 line = 1500 byte * 1000 * 8bit = 12Mbit/sec
1.2, 2.4, 4, 6 is multiple of 12Mbps. They can be easily computed.
with open ("1.2M.trace", "w") as f:
for i in range(10, 1001, 10):
f.write(str(i))
set terminal png | |
set key left top | |
# show progress | |
set output "1_progress.png" | |
plot "1core_1process.txt" using 2:3 title "data1" | |
set output "2_progress.png" | |
plot "1core_2process.txt" using 2:($1 == 0 ? $3 : 1/0) title "data1",\ | |
"1core_2process.txt" using 2:($1 == 1 ? $3 : 1/0) title "data2" |