pdump: replace constant for device name size
[dpdk.git] / app / test / test_rcu_qsbr_perf.c
index 280f181..3017e71 100644 (file)
@@ -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));
 
@@ -621,7 +625,7 @@ test_rcu_qsbr_main(void)
        rte_atomic64_init(&check_cycles);
 
        num_cores = 0;
-       RTE_LCORE_FOREACH_SLAVE(core_id) {
+       RTE_LCORE_FOREACH_WORKER(core_id) {
                enabled_core_ids[num_cores] = core_id;
                num_cores++;
        }