1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2018-2019 Intel Corporation 3 */ 4 5 #ifndef _COMP_PERF_TEST_VERIFY_ 6 #define _COMP_PERF_TEST_VERIFY_ 7 8 #include <stdint.h> 9 10 #include "comp_perf_options.h" 11 #include "comp_perf_test_common.h" 12 13 struct cperf_verify_ctx { 14 struct cperf_mem_resources mem; 15 struct comp_test_data *options; 16 17 int silent; 18 size_t comp_data_sz; 19 size_t decomp_data_sz; 20 double ratio; 21 }; 22 23 void 24 cperf_verify_test_destructor(void *arg); 25 26 int 27 cperf_verify_test_runner(void *test_ctx); 28 29 void * 30 cperf_verify_test_constructor(uint8_t dev_id, uint16_t qp_id, 31 struct comp_test_data *options); 32 33 #endif 34