Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char buf[BUF_SIZE];
- unsigned int total = 0;
- uint64_t start = rdtscp();
- while (total < BUF_SIZE * NB_BLOCKS)
- total += recv(fd, buf, sizeof(buf), 0);
- uint64_t stop = rdtscp();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement