summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHonnappa Nagarahalli <honnappa.nagarahalli@arm.com>2019-10-08 16:12:18 -0500
committerDavid Marchand <david.marchand@redhat.com>2019-10-21 17:54:40 +0200
commitd0487bba14595ddc9c026a0364df464ab3136df5 (patch)
tree3065030fa29400eef1d3a8e6cf92e6551d71a24e /app
parent83e14432d3901a4a92519d0b340287b6cfc07d3d (diff)
downloaddpdk-d0487bba14595ddc9c026a0364df464ab3136df5.zip
dpdk-d0487bba14595ddc9c026a0364df464ab3136df5.tar.gz
dpdk-d0487bba14595ddc9c026a0364df464ab3136df5.tar.xz
test/rcu: enhance log nomenclature
Use 'quiescent state updates' instead of just 'updates'. Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Diffstat (limited to 'app')
-rw-r--r--app/test/test_rcu_qsbr_perf.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/app/test/test_rcu_qsbr_perf.c b/app/test/test_rcu_qsbr_perf.c
index 280f181..d35a6d0 100644
--- a/app/test/test_rcu_qsbr_perf.c
+++ b/app/test/test_rcu_qsbr_perf.c
@@ -167,8 +167,10 @@ test_rcu_qsbr_perf(void)
/* Wait until all readers have exited */
rte_eal_mp_wait_lcore();
- printf("Total RCU updates = %"PRIi64"\n", rte_atomic64_read(&updates));
- printf("Cycles per %d updates: %"PRIi64"\n", RCU_SCALE_DOWN,
+ printf("Total quiescent state updates = %"PRIi64"\n",
+ rte_atomic64_read(&updates));
+ printf("Cycles per %d quiescent state updates: %"PRIi64"\n",
+ RCU_SCALE_DOWN,
rte_atomic64_read(&update_cycles) /
(rte_atomic64_read(&updates) / RCU_SCALE_DOWN));
printf("Total RCU checks = %"PRIi64"\n", rte_atomic64_read(&checks));
@@ -217,8 +219,10 @@ test_rcu_qsbr_rperf(void)
/* Wait until all readers have exited */
rte_eal_mp_wait_lcore();
- printf("Total RCU updates = %"PRIi64"\n", rte_atomic64_read(&updates));
- printf("Cycles per %d updates: %"PRIi64"\n", RCU_SCALE_DOWN,
+ printf("Total quiescent state updates = %"PRIi64"\n",
+ rte_atomic64_read(&updates));
+ printf("Cycles per %d quiescent state updates: %"PRIi64"\n",
+ RCU_SCALE_DOWN,
rte_atomic64_read(&update_cycles) /
(rte_atomic64_read(&updates) / RCU_SCALE_DOWN));
@@ -462,7 +466,7 @@ test_rcu_qsbr_sw_sv_1qs(void)
rte_free(keys);
printf("Following numbers include calls to rte_hash functions\n");
- printf("Cycles per 1 update(online/update/offline): %"PRIi64"\n",
+ printf("Cycles per 1 quiescent state update(online/update/offline): %"PRIi64"\n",
rte_atomic64_read(&update_cycles) /
rte_atomic64_read(&updates));
@@ -578,7 +582,7 @@ test_rcu_qsbr_sw_sv_1qs_non_blocking(void)
rte_free(keys);
printf("Following numbers include calls to rte_hash functions\n");
- printf("Cycles per 1 update(online/update/offline): %"PRIi64"\n",
+ printf("Cycles per 1 quiescent state update(online/update/offline): %"PRIi64"\n",
rte_atomic64_read(&update_cycles) /
rte_atomic64_read(&updates));