Home
last modified time | relevance | path

Searched refs:memPool_ (Results 1 – 2 of 2) sorted by relevance

/developtools/profiler/device/plugins/ftrace_plugin/src/
Dflow_controller.cpp138 memPool_ = std::make_unique<PagedMemPool>(pagesPerBlock, platformCpuNum_); in CreatePagedMemoryPool()
139 CHECK_NOTNULL(memPool_, false, "create PagedMemPool FAILED!"); in CreatePagedMemoryPool()
147 auto buffer = std::shared_ptr<uint8_t>(reinterpret_cast<u8ptr>(memPool_->Allocate()), in CreateRawDataBuffers()
148 [&](u8ptr block) { this->memPool_->Recycle(block); }); in CreateRawDataBuffers()
319 auto bufferSize = static_cast<long>(memPool_->GetBlockSize()); in ReadEventData()
399 memPool_.reset(); // release memory pool in StopCapture()
/developtools/profiler/device/plugins/ftrace_plugin/include/
Dflow_controller.h82 std::unique_ptr<PagedMemPool> memPool_ = nullptr; variable