summaryrefslogtreecommitdiff
path: root/src/benchmark-cipher.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-17 18:05:14 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-17 18:05:14 +0200
commitfd27a1bfa9b26ae706265322fa6eb20bbd6a1721 (patch)
tree9f31fb3662136b0557f35d9a9845e5876084be89 /src/benchmark-cipher.c
parent0287f236d45ae6f0a77e2ac96362242dad22c3b9 (diff)
downloadgnutls-fd27a1bfa9b26ae706265322fa6eb20bbd6a1721.tar.gz
print average time per transaction and sample variance.
Diffstat (limited to 'src/benchmark-cipher.c')
-rw-r--r--src/benchmark-cipher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/benchmark-cipher.c b/src/benchmark-cipher.c
index c0695153a5..b620723a2a 100644
--- a/src/benchmark-cipher.c
+++ b/src/benchmark-cipher.c
@@ -69,7 +69,7 @@ cipher_mac_bench (int algo, int mac_algo, int size)
key.data = _key;
key.size = keysize;
- printf ("Checking %s with %s (%dkb payload)... ", gnutls_cipher_get_name (algo),
+ printf ("Checking %s with %s (%dkb payload)...\n", gnutls_cipher_get_name (algo),
gnutls_mac_get_name(mac_algo), size);
fflush (stdout);
@@ -140,7 +140,7 @@ cipher_bench (int algo, int size, int aead)
key.data = _key;
key.size = keysize;
- printf ("Checking %s (%dkb payload)... ", gnutls_cipher_get_name (algo),
+ printf ("Checking %s (%dkb payload)...\n", gnutls_cipher_get_name (algo),
size);
fflush (stdout);
@@ -185,7 +185,7 @@ mac_bench (int algo, int size)
return;
memset (_key, 0xf0, blocksize);
- printf ("Checking %s (%dkb payload)... ", gnutls_mac_get_name (algo), size);
+ printf ("Checking %s (%dkb payload)...\n", gnutls_mac_get_name (algo), size);
fflush (stdout);
start_benchmark(&st);