Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communication size = 0? #86

Open
bonliu opened this issue Feb 10, 2019 · 0 comments
Open

Communication size = 0? #86

bonliu opened this issue Feb 10, 2019 · 0 comments

Comments

@bonliu
Copy link

bonliu commented Feb 10, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant