Home
last modified time | relevance | path

Searched refs:PagedMemPool (Results 1 - 5 of 5) sorted by relevance

/developtools/profiler/device/plugins/ftrace_plugin/src/
H A Dpaged_mem_pool.cpp30 PagedMemPool::PagedMemPool(size_t pagePerBlock, size_t maxCacheSize) in PagedMemPool() function in PagedMemPool
33 PROFILER_LOG_INFO(LOG_CORE, "PagedMemPool init with %zu ppb, %zu slots!", pagePerBlock, maxCacheSize); in PagedMemPool()
36 PagedMemPool::~PagedMemPool() in ~PagedMemPool()
43 PROFILER_LOG_INFO(LOG_CORE, "PagedMemPool deinit!"); in ~PagedMemPool()
46 size_t PagedMemPool::GetBlockSize() const in GetBlockSize()
51 void* PagedMemPool::Allocate() in Allocate()
63 PROFILER_LOG_INFO(LOG_CORE, "PagedMemPool::Allocate %zuB block done!", blockSize_); in Allocate()
67 bool PagedMemPool
[all...]
H A Dflow_controller.cpp144 memPool_ = std::make_unique<PagedMemPool>(bufferSizePages, 1); in CreatePagedMemoryPool()
146 memPool_ = std::make_unique<PagedMemPool>(pagesPerBlock, platformCpuNum_); in CreatePagedMemoryPool()
148 CHECK_NOTNULL(memPool_, false, "create PagedMemPool FAILED!"); in CreatePagedMemoryPool()
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
H A Dpaged_mem_pool_test.cpp22 using FTRACE_NS::PagedMemPool;
45 * @tc.name: normal PagedMemPool size
46 * @tc.desc: test PagedMemPool:: normal with normal case.
53 std::unique_ptr<PagedMemPool> memPool = std::make_unique<PagedMemPool>(blockSize, maxCacheSize); in HWTEST_F()
66 * @tc.name: false PagedMemPool size
67 * @tc.desc: test PagedMemPool:: normal with normal case.
74 std::unique_ptr<PagedMemPool> memPool = std::make_unique<PagedMemPool>(blockSize, maxCacheSize); in HWTEST_F()
94 * @tc.name: rand PagedMemPool siz
[all...]
/developtools/profiler/device/plugins/ftrace_plugin/include/
H A Dpaged_mem_pool.h23 class PagedMemPool { class
25 PagedMemPool(size_t pagePerBlock = 1, size_t maxCacheSize = 0);
26 ~PagedMemPool();
35 DISALLOW_COPY_AND_MOVE(PagedMemPool);
H A Dflow_controller.h102 std::unique_ptr<PagedMemPool> memPool_ = nullptr;

Completed in 3 milliseconds