obliv-c icon indicating copy to clipboard operation
obliv-c copied to clipboard

Communication size = 0?

Open bonliu opened this issue 7 years ago • 0 comments

I tried to add the following code in editdist.c to see the total communication size:

size_t = comm_size = tcp2PBytesSent(&pd);
printf("total communication size: %zu\n, comm_size";

And it shows the communication size is zero. I have already looked into other related issues, and added these codes in editdist.c:

//protocolUseStdio(&pd);
  const char* remote_host = (strcmp(argv[2],"--")?argv[2]:NULL);  // original code in editdist.c
  ocTestUtilTcpOrDie(&pd,remote_host,argv[1]);  // original code in editdist.c
  protocolConnectTcp2PProfiled(&pd,remote_host,argv[1]);

But it is still showing 0 communication size.

bonliu avatar Feb 10 '19 20:02 bonliu