// SPDX-License-Identifier: BSD-2-Clause /* Copyright (C) 2016 - 2020 Intel Corporation. */ #include #include "Task.hpp" class HugePageUnmap: public Task { public: HugePageUnmap(int operations, bool touch_memory, size_t alignment_size, size_t alloc_size, hbw_pagesize_t page_size) : mem_operations_num(operations), touch_memory(touch_memory), alignment_size(alignment_size), alloc_size(alloc_size), page_size(page_size) {} ~HugePageUnmap() { for(int i=0; i get_results() { return results; } private: int mem_operations_num; std::vector results; bool touch_memory; size_t alignment_size; size_t alloc_size; hbw_pagesize_t page_size; };