Home
last modified time | relevance | path

Searched refs:realSize (Results 1 - 3 of 3) sorted by relevance

/developtools/profiler/device/plugins/native_hook/src/
H A Dhook_client.cpp467 int realSize = 0; in hook_malloc() local
469 realSize = sizeof(BaseStackRawData) + (fpStackDepth * sizeof(uint64_t)); in hook_malloc()
471 realSize = sizeof(BaseStackRawData) + sizeof(rawdata.regs); in hook_malloc()
473 holder->SendStackWithPayload(&rawdata, realSize, stackptr, stackSize); in hook_malloc()
572 int realSize = 0; in hook_aligned_alloc() local
574 realSize = sizeof(BaseStackRawData) + (fpStackDepth * sizeof(uint64_t)); in hook_aligned_alloc()
576 realSize = sizeof(BaseStackRawData) + sizeof(rawdata.regs); in hook_aligned_alloc()
578 holder->SendStackWithPayload(&rawdata, realSize, stackptr, stackSize); in hook_aligned_alloc()
681 int realSize = 0; in hook_calloc() local
683 realSize in hook_calloc()
798 int realSize = 0; hook_realloc() local
931 int realSize = 0; hook_free() local
1070 int realSize = 0; hook_mmap() local
1152 int realSize = 0; hook_munmap() local
1275 int realSize = 0; hook_memtrace() local
[all...]
/developtools/profiler/device/services/shared_memory/src/
H A Dshare_memory_block.cpp185 uint32_t realSize = size + PIECE_HEAD_LEN + PIECE_HEAD_LEN; in GetCurrentFreeMemory() local
188 if (wp + realSize > header_->info.memorySize_) { // 后面部分放不下,从头开始放 in GetCurrentFreeMemory()
195 if (wp < header_->info.readOffset_.load() && header_->info.readOffset_.load() < wp + realSize) { // in GetCurrentFreeMemory()
465 uint32_t realSize = messageWriteOffset_ + size + PIECE_HEAD_LEN; in GetMemory() local
469 if (wp + realSize <= header_->info.memorySize_) { in GetMemory()
474 } else if (realSize <= rp) { in GetMemory()
487 if (wp + realSize <= rp) { in GetMemory()
495 PROFILER_LOG_ERROR(LOG_CORE, "Write not enough space, realSize=%u, rp=%u, wp=%u", realSize, rp, wp); in GetMemory()
/developtools/profiler/device/services/profiler_service/src/
H A Dtrace_file_writer.cpp510 auto realSize = PIECE_HEAD_LEN + size; in FinishReport() local
511 CHECK_TRUE(helper_.AddSegment(nullptr, realSize), NO_RETVAL, "AddSegment(%d) failed, error: %s", in FinishReport()
512 realSize, strerror(errno)); in FinishReport()
516 mapOffset_ += static_cast<uint64_t>(realSize); in FinishReport()
517 fileWriteLength_ += static_cast<uint64_t>(realSize); in FinishReport()
518 writeBytes_ += static_cast<uint64_t>(realSize); in FinishReport()

Completed in 4 milliseconds