Merge pull request #418 from maruncz/dev

fix benchmark output formatting
This commit is contained in:
Luca Deri 2020-09-15 23:22:14 +02:00 committed by GitHub
commit 95f035b63f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ static void run_transop_benchmark(const char *op_name, n2n_trans_op_t *op_fn, n2
ssize_t tdiff = 0; // microseconds
size_t num_packets = 0;
printf("Run %s[%s] for %us (%u bytes): ", perform_decryption ? "enc/dec" : "enc",
printf("Run %s[%s] for %us (%u bytes):", perform_decryption ? "enc/dec" : "enc",
op_name, target_sec, (unsigned int)sizeof(PKT_CONTENT));
fflush(stdout);