Blame test/pmem_alloc_performance_tests.cpp

Packit 345191
/*
Packit 345191
* Copyright (C) 2019 Intel Corporation.
Packit 345191
* All rights reserved.
Packit 345191
*
Packit 345191
* Redistribution and use in source and binary forms, with or without
Packit 345191
* modification, are permitted provided that the following conditions are met:
Packit 345191
* 1. Redistributions of source code must retain the above copyright notice(s),
Packit 345191
*    this list of conditions and the following disclaimer.
Packit 345191
* 2. Redistributions in binary form must reproduce the above copyright notice(s),
Packit 345191
*    this list of conditions and the following disclaimer in the documentation
Packit 345191
*    and/or other materials provided with the distribution.
Packit 345191
*
Packit 345191
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY EXPRESS
Packit 345191
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
Packit 345191
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
Packit 345191
* EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
Packit 345191
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
Packit 345191
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
Packit 345191
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
Packit 345191
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
Packit 345191
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
Packit 345191
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Packit 345191
*/
Packit 345191
Packit 345191
#include "common.h"
Packit 345191
#include "allocator_perf_tool/TaskFactory.hpp"
Packit 345191
#include "allocator_perf_tool/Stats.hpp"
Packit 345191
#include "allocator_perf_tool/Thread.hpp"
Packit 345191
#include "allocator_perf_tool/GTestAdapter.hpp"
Packit 345191
#include "allocator_perf_tool/PmemMockup.hpp"
Packit 345191
Packit 345191
static const size_t PMEM_PART_SIZE = 0;
Packit 345191
extern const char  *PMEM_DIR;
Packit 345191
Packit 345191
class PmemAllocPerformanceTest: public :: testing::Test
Packit 345191
{
Packit 345191
private:
Packit 345191
    AllocatorFactory allocator_factory;
Packit 345191
Packit 345191
protected:
Packit 345191
    void SetUp()
Packit 345191
    {
Packit 345191
        allocator_factory.initialize_allocator(AllocatorTypes::STANDARD_ALLOCATOR);
Packit 345191
Packit 345191
        int err = memkind_create_pmem(PMEM_DIR, PMEM_PART_SIZE, &MEMKIND_PMEM_MOCKUP);
Packit 345191
        ASSERT_EQ(0, err);
Packit 345191
        ASSERT_NE(nullptr, MEMKIND_PMEM_MOCKUP);
Packit 345191
    }
Packit 345191
Packit 345191
    void TearDown()
Packit 345191
    {
Packit 345191
        int err = memkind_destroy_kind(MEMKIND_PMEM_MOCKUP);
Packit 345191
        ASSERT_EQ(0, err);
Packit 345191
    }
Packit 345191
Packit 345191
    float run(unsigned kind, unsigned call, size_t threads_number,
Packit 345191
              size_t alloc_size, unsigned mem_operations_num)
Packit 345191
    {
Packit 345191
        TaskFactory task_factory;
Packit 345191
        std::vector<Thread *> threads;
Packit 345191
        std::vector<Task *> tasks;
Packit 345191
        TypesConf func_calls;
Packit 345191
        TypesConf allocator_types;
Packit 345191
Packit 345191
        func_calls.enable_type(FunctionCalls::FREE);
Packit 345191
        func_calls.enable_type(call);
Packit 345191
        allocator_types.enable_type(kind);
Packit 345191
Packit 345191
        TaskConf conf = {
Packit 345191
            mem_operations_num, //number of memory operations
Packit 345191
            {
Packit 345191
                mem_operations_num, //number of memory operations
Packit 345191
                alloc_size, //min. size of single allocation
Packit 345191
                alloc_size //max. size of single allocatioion
Packit 345191
            },
Packit 345191
            func_calls, //enable function calls
Packit 345191
            allocator_types, //enable allocators
Packit 345191
            11, //random seed
Packit 345191
            false, //do not log memory operations and statistics to csv file
Packit 345191
        };
Packit 345191
Packit 345191
        for (int i=0; i
Packit 345191
            Task *task = task_factory.create(conf);
Packit 345191
            tasks.push_back(task);
Packit 345191
            threads.push_back(new Thread(task));
Packit 345191
            conf.seed += 1;
Packit 345191
        }
Packit 345191
Packit 345191
        ThreadsManager threads_manager(threads);
Packit 345191
        threads_manager.start();
Packit 345191
        threads_manager.barrier();
Packit 345191
Packit 345191
        TimeStats time_stats;
Packit 345191
        for (int i=0; i
Packit 345191
            time_stats += tasks[i]->get_results();
Packit 345191
        }
Packit 345191
Packit 345191
        return time_stats.stats[kind][call].total_time;
Packit 345191
    }
Packit 345191
Packit 345191
    void run_test(unsigned kind, unsigned call, size_t threads_number,
Packit 345191
                  size_t alloc_size, unsigned mem_operations_num)
Packit 345191
    {
Packit 345191
        allocator_factory.initialize_allocator(kind);
Packit 345191
        float ref_time = run(AllocatorTypes::STANDARD_ALLOCATOR, call, threads_number,
Packit 345191
                             alloc_size, mem_operations_num);
Packit 345191
        float perf_time = run(kind, call, threads_number, alloc_size,
Packit 345191
                              mem_operations_num);
Packit 345191
        float ref_delta_time_percent = allocator_factory.calc_ref_delta(ref_time,
Packit 345191
                                                                        perf_time);
Packit 345191
Packit 345191
        GTestAdapter::RecordProperty("total_time_spend_on_alloc", perf_time);
Packit 345191
        GTestAdapter::RecordProperty("alloc_operations_per_thread", mem_operations_num);
Packit 345191
        GTestAdapter::RecordProperty("ref_delta_time_percent", ref_delta_time_percent);
Packit 345191
    }
Packit 345191
Packit 345191
};
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_1_thread_100_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 1, 100, 10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_1_thread_4096_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 1, 4096,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_1_thread_1000_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 1, 1000,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_1_thread_1001_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 1, 1001,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_1_thread_1572864_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 1, 1572864,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_10_thread_100_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 10, 100,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_10_thread_4096_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 10, 4096,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_10_thread_1000_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 10, 1000,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_10_thread_1001_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 10, 1001,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_10_thread_1572864_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 10, 1572864,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_72_thread_100_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 72, 100,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_72_thread_4096_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 72, 4096,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_72_thread_1000_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 72, 1000,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_72_thread_1001_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 72, 1001,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_malloc_72_thread_1572864_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::MALLOC, 72, 1572864,
Packit 345191
             1000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_1_thread_100_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 1, 100, 10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_1_thread_4096_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 1, 4096,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_1_thread_1000_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 1, 1000,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_1_thread_1001_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 1, 1001,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_1_thread_1572864_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 1, 1572864,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_10_thread_100_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 10, 100,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_10_thread_4096_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 10, 4096,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_10_thread_1000_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 10, 1000,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_10_thread_1001_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 10, 1001,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_10_thread_1572864_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 10, 1572864,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_72_thread_100_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 72, 100,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_72_thread_4096_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 72, 4096,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_72_thread_1000_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 72, 1000,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_72_thread_1001_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 72, 1001,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_calloc_72_thread_1572864_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::CALLOC, 72, 1572864,
Packit 345191
             1000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_1_thread_100_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 1, 100,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_1_thread_4096_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 1, 4096,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_1_thread_1000_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 1, 1000,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_1_thread_1001_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 1, 1001,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_1_thread_1572864_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 1, 1572864,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_10_thread_100_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 10, 100,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_10_thread_4096_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 10, 4096,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_10_thread_1000_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 10, 1000,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_10_thread_1001_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 10, 1001,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_10_thread_1572864_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 10, 1572864,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_72_thread_100_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 72, 100,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_72_thread_4096_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 72, 4096,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_72_thread_1000_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 72, 1000,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_72_thread_1001_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 72, 1001,
Packit 345191
             10000);
Packit 345191
}
Packit 345191
Packit 345191
TEST_F(PmemAllocPerformanceTest,
Packit 345191
       test_TC_MEMKIND_MEMKIND_PMEM_realloc_72_thread_1572864_bytes)
Packit 345191
{
Packit 345191
    run_test(AllocatorTypes::MEMKIND_PMEM, FunctionCalls::REALLOC, 72, 1572864,
Packit 345191
             1000);
Packit 345191
}