Skip to content

Commit

Permalink
automatic commit at releng box
Browse files Browse the repository at this point in the history
  • Loading branch information
mc36 committed Jan 4, 2025
1 parent 05fcf10 commit 315764b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions misc/native/p4emu_bench.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@ int main(int argc, char **argv) {
free(lin);
}
fclose(fil);
sleep(1);
clock_t begin = clock();
ctx.port = 0;
ctx.stat = ifaceStat[0];
sleep(1);
clock_t beg = clock();
for (int i = 0; i < count; i++) {
memcpy(&ctx.bufD[preBuff], &origD[0], origS);
processDataPacket(&ctx, origS, 0);
}
clock_t end = clock();
double spent = (double)(end - begin) / (double)CLOCKS_PER_SEC;
double spent = (double)(end - beg) / (double)CLOCKS_PER_SEC;
if (spent <= 0) spent = 1;
hexdump(lastB, 0, lastS);
printf("packets=%li, bytes=%li, time=%f\n", packs, bytes, spent);
Expand Down
2 changes: 1 addition & 1 deletion src/rtr.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
url;file;result;test
-;-;-;freeRouter v25.1.4-cur, done by sprscc13@mrn0b0dy.
-;-;-;2025-01-04 22:31:49, took 00:15:09, with 50 workers, on 3604 cases, 0 failed, 0 traces, 0 retries
-;-;-;2025-01-04 23:18:10, took 00:14:43, with 50 workers, on 3604 cases, 0 failed, 0 traces, 2 retries
-;-;-;./rtr.bin
http://sources.freertr.org/cfg/basic01.tst;basic01.tst;success;dummy test
http://sources.freertr.org/cfg/basic02.tst;basic02.tst;success;interface with slot
Expand Down
2 changes: 1 addition & 1 deletion src/rtr.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</style>
<title>tester</title></head><body>
release: freeRouter v25.1.4-cur, done by sprscc13@mrn0b0dy.<br/>
tested: 2025-01-04 22:31:49, took 00:15:09, with 50 workers, on 3604 cases, 0 failed, 0 traces, 0 retries<br/>
tested: 2025-01-04 23:18:10, took 00:14:43, with 50 workers, on 3604 cases, 0 failed, 0 traces, 2 retries<br/>
jvm: ./rtr.bin<br/>
<br/>
<table><thead><tr><td><b>file</b></td><td><b>result</b></td><td><b>test</b></td></tr></thead><tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/rtr8.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
url;file;result;test
-;-;-;freeRouter v25.1.4-cur, done by sprscc13@mrn0b0dy.
-;-;-;2025-01-04 22:44:24, took 00:12:12, with 50 workers, on 674 cases, 0 failed, 0 traces, 0 retries
-;-;-;2025-01-04 23:30:55, took 00:12:22, with 50 workers, on 674 cases, 0 failed, 0 traces, 1 retries
-;-;-;./rtr.bin
http://sources.freertr.org/cfg/p4lang-acl001.tst;p4lang-acl001.tst;success;p4lang: copp
http://sources.freertr.org/cfg/p4lang-acl002.tst;p4lang-acl002.tst;success;p4lang: ingress access list
Expand Down
2 changes: 1 addition & 1 deletion src/rtr8.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</style>
<title>tester</title></head><body>
release: freeRouter v25.1.4-cur, done by sprscc13@mrn0b0dy.<br/>
tested: 2025-01-04 22:44:24, took 00:12:12, with 50 workers, on 674 cases, 0 failed, 0 traces, 0 retries<br/>
tested: 2025-01-04 23:30:55, took 00:12:22, with 50 workers, on 674 cases, 0 failed, 0 traces, 1 retries<br/>
jvm: ./rtr.bin<br/>
<br/>
<table><thead><tr><td><b>file</b></td><td><b>result</b></td><td><b>test</b></td></tr></thead><tbody>
Expand Down

0 comments on commit 315764b

Please sign in to comment.