build system for perf/C and perf/C++

This commit is contained in:
Martin Sustrik
2009-08-30 15:47:39 +02:00
parent 6c36673949
commit 314deb6185
14 changed files with 86 additions and 38 deletions

View File

@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stddef.h>
#include <sys/time.h>
int main (int argc, char *argv [])
@@ -32,7 +33,7 @@ int main (int argc, char *argv [])
}
const char *connect_to = argv [1];
int roundtrip_count = atoi (argv [2]);
int message_size = atoi (argv [3]);
size_t message_size = (size_t) atoi (argv [3]);
zmq::context_t ctx (1, 1);