diff --git a/examples/bench_06/main.c b/examples/bench_06/main.c new file mode 100644 index 0000000000000000000000000000000000000000..0bcb59965d5e054b97d9c3e5dbdf1a88e7420d6a --- /dev/null +++ b/examples/bench_06/main.c @@ -0,0 +1,30 @@ +#include +#include "../../reowolf.h" +#include "../utility.c" +int main(int argc, char** argv) { + int i, self_syncs; + self_syncs = atoi(argv[1]); + printf("self_syncs %d\n", self_syncs); + unsigned char pdl[] = ""; + Arc_ProtocolDescription * pd = protocol_description_parse(pdl, sizeof(pdl)-1); + char logpath[] = "./bench_6.txt"; + Connector * c = connector_new_logging(pd, logpath, sizeof(logpath)-1); + for (i=0; i