Browse Source
Merge pull request #418 from maruncz/dev
fix benchmark output formatting
pull/424/head
Luca Deri
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
tools/benchmark.c
|
@ -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
|
|
|
ssize_t tdiff = 0; // microseconds
|
|
|
size_t num_packets = 0; |
|
|
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)); |
|
|
op_name, target_sec, (unsigned int)sizeof(PKT_CONTENT)); |
|
|
fflush(stdout); |
|
|
fflush(stdout); |
|
|
|
|
|
|
|
|