|
NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/socket.h>#include <netinet/in.h>#include <netinet/tcp.h>#include <sys/mman.h>#include <sys/timeb.h>Macros | |
| #define | BUFFERSIZE (1<<24) |
| TCP throughput measurement. | |
| #define | SENDSIZE (1<<19) |
| #define | SOCKSIZE (1<<18) |
| #define | CHECK(X) ({ int res; res = X; if (res < 0) { perror(#X); return -1; }; res; }) |
Functions | |
| int | main (int argc, char **argv) |
| #define BUFFERSIZE (1<<24) |
TCP throughput measurement.
Bernhard Kauer bk@vmmon.org
| #define SENDSIZE (1<<19) |
| #define SOCKSIZE (1<<18) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |