Home
last modified time | relevance | path

Searched refs:commit_size (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/src/base/
Dpaged_memory.cc138 size_t commit_size = std::min(num_additional_chunks * kCommitChunkSize, in EnsureCommitted() local
140 void* res = VirtualAlloc(p_ + committed_size_, commit_size, MEM_COMMIT, in EnsureCommitted()
144 committed_size_ + commit_size); in EnsureCommitted()
145 committed_size_ += commit_size; in EnsureCommitted()
/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table.cc68 uint16_t commit_size = 8; in GuessFtracePageHeaderSpec() local
70 uint16_t commit_size = sizeof(long); in GuessFtracePageHeaderSpec() local
74 if (commit_size < 8 && uname(&sysinfo) == 0) { in GuessFtracePageHeaderSpec()
77 commit_size = strstr(sysinfo.machine, "64") || in GuessFtracePageHeaderSpec()
91 spec.size = FtraceEvent::Field{"local_t commit", 8, commit_size, 1}; in GuessFtracePageHeaderSpec()
/external/v8/src/wasm/
Dwasm-code-manager.cc687 size_t commit_size = static_cast<size_t>(commit_end - start); in AllocateForCode() local
688 DCHECK(IsAligned(commit_size, AllocatePageSize())); in AllocateForCode()
689 if (!wasm_code_manager_->Commit(start, commit_size)) { in AllocateForCode()
692 committed_code_space_.fetch_add(commit_size); in AllocateForCode()
696 size_t commit_size = static_cast<size_t>(commit_end - commit_start); in AllocateForCode()
697 DCHECK(IsAligned(commit_size, AllocatePageSize())); in AllocateForCode()
698 if (!wasm_code_manager_->Commit(commit_start, commit_size)) { in AllocateForCode()
701 committed_code_space_.fetch_add(commit_size); in AllocateForCode()
/external/v8/src/heap/
Dspaces.cc226 const size_t commit_size, in AllocateRawMemory() argument
230 DCHECK_LE(commit_size, in AllocateRawMemory()
240 &virtual_memory_, current.start, commit_size, *allocated)) { in AllocateRawMemory()
540 size_t reserve_size, size_t commit_size, size_t alignment, in AllocateAlignedMemory() argument
542 DCHECK(commit_size <= reserve_size); in AllocateAlignedMemory()
549 if (!CommitExecutableMemory(&reservation, base, commit_size, in AllocateAlignedMemory()
554 if (reservation.SetPermissions(base, commit_size, in AllocateAlignedMemory()
556 UpdateAllocatedSpaceLimits(base, base + commit_size); in AllocateAlignedMemory()
864 size_t commit_size = ::RoundUp( in AllocateChunk() local
875 code_range()->AllocateRawMemory(chunk_size, commit_size, &chunk_size); in AllocateChunk()
[all …]
Dspaces.h1108 const size_t commit_size,
1427 Address AllocateAlignedMemory(size_t reserve_size, size_t commit_size,
1467 size_t commit_size,