]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/app/test-compress-perf/comp_perf_test_verify.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / app / test-compress-perf / comp_perf_test_verify.h
CommitLineData
9f95a23c 1/* SPDX-License-Identifier: BSD-3-Clause
f67539c2 2 * Copyright(c) 2018-2019 Intel Corporation
9f95a23c
TL
3 */
4
5#ifndef _COMP_PERF_TEST_VERIFY_
6#define _COMP_PERF_TEST_VERIFY_
7
f67539c2
TL
8#include <stdint.h>
9
9f95a23c 10#include "comp_perf_options.h"
f67539c2
TL
11#include "comp_perf_test_common.h"
12
13struct 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
23void
24cperf_verify_test_destructor(void *arg);
9f95a23c
TL
25
26int
f67539c2
TL
27cperf_verify_test_runner(void *test_ctx);
28
29void *
30cperf_verify_test_constructor(uint8_t dev_id, uint16_t qp_id,
31 struct comp_test_data *options);
9f95a23c
TL
32
33#endif