commit 02d01148853952868eddec2455c4872c9179d545 from: Sergey Bronnikov date: Wed Oct 25 07:26:04 2017 UTC Update commit - 9d1b18f3f125b985981d99d2257d4673a593b3d3 commit + 02d01148853952868eddec2455c4872c9179d545 blob - 604e616326112229fb4e912bdde1a0d91d7a9b5a blob + 476e634c3d38fbb14bb3894edd61abd3af75c51f --- tests/atomics/Makefile +++ tests/atomics/Makefile @@ -28,7 +28,7 @@ build: run: build ${BINDIR}/at_bind ${OPTIONS} ${BINDIR}/at_bpf ${OPTIONS} - ${BINDIR}/at_busyloop ${OPTIONS} + #${BINDIR}/at_busyloop ${OPTIONS} ${BINDIR}/at_connect ${OPTIONS} ${BINDIR}/at_cpuid ${OPTIONS} ${BINDIR}/at_crypto ${OPTIONS} blob - cac09accef599089444a2ea4bd7a7eb8f0f7e406 blob + e63af9af62ef7a7c94c82543c15c80b79207c578 --- tests/atomics/at_bind.cc +++ tests/atomics/at_bind.cc @@ -8,6 +8,7 @@ void bind_perf() { +/* int sockfd, newsockfd, portno, clilen; char buffer[256]; struct sockaddr_in serv_addr, cli_addr; @@ -37,6 +38,7 @@ void bind_perf() { if (n < 0) perror("error reading from socket"); n = write(newsockfd, "I got your message", 18); if (n < 0) perror("error writing to socket"); +*/ } void BM_bind(benchmark::State& state) { blob - 203cf383d93ee6fb5a033d558fc4c63368d2ce7d blob + f6d8a27241f15471c382e4b07149d6c97a2369f6 --- tests/atomics/at_ipc.cc +++ tests/atomics/at_ipc.cc @@ -8,7 +8,7 @@ // https://github.com/rigtorp/ipc-bench void pipe_lat() { - +/* int ofds[2], ifds[2]; int size; char *buf; @@ -30,7 +30,7 @@ void pipe_lat() { perror("pipe"); } - if (!fork()) { /* child */ + if (!fork()) for (i = 0; i < count; i++) { if (read(ifds[0], buf, size) != size) { @@ -41,7 +41,7 @@ void pipe_lat() { perror("write"); } } - } else { /* parent */ + } else { for (i = 0; i < count; i++) { @@ -54,6 +54,7 @@ void pipe_lat() { } } } +*/ } void BM_pipe_lat(benchmark::State& state) {