diff --git a/examples/bench_3/main.c b/examples/bench_3/main.c new file mode 100644 index 0000000000000000000000000000000000000000..6bba15edcd543972aa7ded1ac9da5c62066725cd --- /dev/null +++ b/examples/bench_3/main.c @@ -0,0 +1,29 @@ +#include +#include "../../reowolf.h" +#include "../utility.c" +int main(int argc, char** argv) { + int i, port_pairs; + port_pairs = atoi(argv[1]); + printf("Port pairs: %d\n", port_pairs); + + Arc_ProtocolDescription * pd = protocol_description_parse("", 0); + char logpath[] = "./bench_3.txt"; + Connector * c = connector_new_logging(pd, logpath, sizeof(logpath)-1); + for (i=0; i