Commit 80fd027f authored by David Johnson's avatar David Johnson

fix

parent c628b7c4
......@@ -21,8 +21,8 @@
*/
typedef uint32_t slen_t;
#define MIDDLEMAN_SEND_CLIENT_PORT 6878
#define MIDDLEMAN_RECV_CLIENT_PORT 6888
#define MIDDLEMAN_SEND_CLIENT_PORT 6898
#define MIDDLEMAN_RECV_CLIENT_PORT 6342
#define MIDDLEMAN_MAX_CLIENTS 32
......
......@@ -157,13 +157,13 @@ int main(int argc,char **argv) {
}
}
++block_count;
gettimeofday(&t1,NULL);
fprintf(stdout,"TIME %d %.4f\n",
block_count,
t1.tv_sec + t1.tv_usec / 1000000);
t1.tv_sec + t1.tv_usec / 1000000.0f);
++block_count;
fprintf(stdout,
"INFO: read %d bytes (a block) at %.6f\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment