Lines Matching refs:time_st
4376 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_dec() argument
4412 time_st->enq_sw_max_time = RTE_MAX(time_st->enq_sw_max_time, in offload_latency_test_dec()
4414 time_st->enq_sw_min_time = RTE_MIN(time_st->enq_sw_min_time, in offload_latency_test_dec()
4416 time_st->enq_sw_total_time += enq_sw_last_time; in offload_latency_test_dec()
4418 time_st->enq_acc_max_time = RTE_MAX(time_st->enq_acc_max_time, in offload_latency_test_dec()
4420 time_st->enq_acc_min_time = RTE_MIN(time_st->enq_acc_min_time, in offload_latency_test_dec()
4422 time_st->enq_acc_total_time += stats.acc_offload_cycles; in offload_latency_test_dec()
4436 time_st->deq_max_time = RTE_MAX(time_st->deq_max_time, in offload_latency_test_dec()
4438 time_st->deq_min_time = RTE_MIN(time_st->deq_min_time, in offload_latency_test_dec()
4440 time_st->deq_total_time += deq_last_time; in offload_latency_test_dec()
4459 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_ldpc_dec() argument
4503 time_st->enq_sw_max_time = RTE_MAX(time_st->enq_sw_max_time, in offload_latency_test_ldpc_dec()
4505 time_st->enq_sw_min_time = RTE_MIN(time_st->enq_sw_min_time, in offload_latency_test_ldpc_dec()
4507 time_st->enq_sw_total_time += enq_sw_last_time; in offload_latency_test_ldpc_dec()
4509 time_st->enq_acc_max_time = RTE_MAX(time_st->enq_acc_max_time, in offload_latency_test_ldpc_dec()
4511 time_st->enq_acc_min_time = RTE_MIN(time_st->enq_acc_min_time, in offload_latency_test_ldpc_dec()
4513 time_st->enq_acc_total_time += stats.acc_offload_cycles; in offload_latency_test_ldpc_dec()
4527 time_st->deq_max_time = RTE_MAX(time_st->deq_max_time, in offload_latency_test_ldpc_dec()
4529 time_st->deq_min_time = RTE_MIN(time_st->deq_min_time, in offload_latency_test_ldpc_dec()
4531 time_st->deq_total_time += deq_last_time; in offload_latency_test_ldpc_dec()
4554 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_enc() argument
4591 time_st->enq_sw_max_time = RTE_MAX(time_st->enq_sw_max_time, in offload_latency_test_enc()
4593 time_st->enq_sw_min_time = RTE_MIN(time_st->enq_sw_min_time, in offload_latency_test_enc()
4595 time_st->enq_sw_total_time += enq_sw_last_time; in offload_latency_test_enc()
4597 time_st->enq_acc_max_time = RTE_MAX(time_st->enq_acc_max_time, in offload_latency_test_enc()
4599 time_st->enq_acc_min_time = RTE_MIN(time_st->enq_acc_min_time, in offload_latency_test_enc()
4601 time_st->enq_acc_total_time += stats.acc_offload_cycles; in offload_latency_test_enc()
4615 time_st->deq_max_time = RTE_MAX(time_st->deq_max_time, in offload_latency_test_enc()
4617 time_st->deq_min_time = RTE_MIN(time_st->deq_min_time, in offload_latency_test_enc()
4619 time_st->deq_total_time += deq_last_time; in offload_latency_test_enc()
4637 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_ldpc_enc() argument
4674 time_st->enq_sw_max_time = RTE_MAX(time_st->enq_sw_max_time, in offload_latency_test_ldpc_enc()
4676 time_st->enq_sw_min_time = RTE_MIN(time_st->enq_sw_min_time, in offload_latency_test_ldpc_enc()
4678 time_st->enq_sw_total_time += enq_sw_last_time; in offload_latency_test_ldpc_enc()
4680 time_st->enq_acc_max_time = RTE_MAX(time_st->enq_acc_max_time, in offload_latency_test_ldpc_enc()
4682 time_st->enq_acc_min_time = RTE_MIN(time_st->enq_acc_min_time, in offload_latency_test_ldpc_enc()
4684 time_st->enq_acc_total_time += stats.acc_offload_cycles; in offload_latency_test_ldpc_enc()
4698 time_st->deq_max_time = RTE_MAX(time_st->deq_max_time, in offload_latency_test_ldpc_enc()
4700 time_st->deq_min_time = RTE_MIN(time_st->deq_min_time, in offload_latency_test_ldpc_enc()
4702 time_st->deq_total_time += deq_last_time; in offload_latency_test_ldpc_enc()
4735 struct test_time_stats time_st; in offload_cost_test()
4737 memset(&time_st, 0, sizeof(struct test_time_stats)); in offload_cost_test()
4738 time_st.enq_sw_min_time = UINT64_MAX; in offload_cost_test()
4739 time_st.enq_acc_min_time = UINT64_MAX; in offload_cost_test()
4740 time_st.deq_min_time = UINT64_MAX; in offload_cost_test()
4758 num_to_process, burst_sz, &time_st); in offload_cost_test()
4762 num_to_process, burst_sz, &time_st); in offload_cost_test()
4766 num_to_process, burst_sz, &time_st); in offload_cost_test()
4770 num_to_process, burst_sz, &time_st); in offload_cost_test()
4774 num_to_process, burst_sz, &time_st); in offload_cost_test()
4787 (double)time_st.enq_sw_total_time / (double)iter, in offload_cost_test()
4788 (double)(time_st.enq_sw_total_time * 1000000) / in offload_cost_test()
4790 (double)time_st.enq_sw_min_time, in offload_cost_test()
4791 (double)(time_st.enq_sw_min_time * 1000000) / in offload_cost_test()
4792 rte_get_tsc_hz(), (double)time_st.enq_sw_max_time, in offload_cost_test()
4793 (double)(time_st.enq_sw_max_time * 1000000) / in offload_cost_test()
4794 rte_get_tsc_hz(), (double)time_st.enq_acc_total_time / in offload_cost_test()
4796 (double)(time_st.enq_acc_total_time * 1000000) / in offload_cost_test()
4798 (double)time_st.enq_acc_min_time, in offload_cost_test()
4799 (double)(time_st.enq_acc_min_time * 1000000) / in offload_cost_test()
4800 rte_get_tsc_hz(), (double)time_st.enq_acc_max_time, in offload_cost_test()
4801 (double)(time_st.enq_acc_max_time * 1000000) / in offload_cost_test()
4808 (double)time_st.deq_total_time / (double)iter, in offload_cost_test()
4809 (double)(time_st.deq_total_time * 1000000) / in offload_cost_test()
4811 (double)time_st.deq_min_time, in offload_cost_test()
4812 (double)(time_st.deq_min_time * 1000000) / in offload_cost_test()
4813 rte_get_tsc_hz(), (double)time_st.deq_max_time, in offload_cost_test()
4814 (double)(time_st.deq_max_time * 1000000) / in offload_cost_test()