Lines Matching refs:test_data
51 struct comp_test_data *test_data = ctx->ver.options; in main_loop() local
63 if (test_data == NULL || !test_data->burst_sz) { in main_loop()
86 .deflate.huffman = test_data->huffman_enc, in main_loop()
87 .level = test_data->level, in main_loop()
88 .window_size = test_data->window_sz, in main_loop()
95 out_seg_sz = test_data->out_seg_sz; in main_loop()
102 .window_size = test_data->window_sz, in main_loop()
108 out_seg_sz = test_data->seg_sz; in main_loop()
121 num_iter = test_data->num_iter; in main_loop()
136 test_data->burst_sz); in main_loop()
188 if (unlikely(test_data->perf_comp_force_stop)) in main_loop()
211 test_data->burst_sz); in main_loop()
249 if (unlikely(test_data->perf_comp_force_stop)) in main_loop()
255 test_data->burst_sz); in main_loop()
306 ctx->comp_tsc_duration[test_data->level] = in main_loop()
309 ctx->decomp_tsc_duration[test_data->level] = in main_loop()
317 if (test_data->perf_comp_force_stop) { in main_loop()
330 struct comp_test_data *test_data = ctx->ver.options; in cperf_throughput_test_runner() local
381 (double)(ctx->comp_tsc_duration[test_data->level]) / in cperf_throughput_test_runner()
382 test_data->input_data_sz; in cperf_throughput_test_runner()
385 (double)(ctx->decomp_tsc_duration[test_data->level]) / in cperf_throughput_test_runner()
386 test_data->input_data_sz; in cperf_throughput_test_runner()
402 test_data->level, ctx->ver.comp_data_sz, ctx->ver.ratio, in cperf_throughput_test_runner()