Advertisement
Guest User

Untitled

a guest
May 28th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1.   char buf[BUF_SIZE];
  2.   unsigned int total = 0;
  3.   uint64_t start = rdtscp();
  4.   while (total < BUF_SIZE * NB_BLOCKS)
  5.     total += recv(fd, buf, sizeof(buf), 0);
  6.   uint64_t stop = rdtscp();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement