Home
last modified time | relevance | path

Searched refs:totalSize (Results 1 - 25 of 25) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/util/
H A DgenerateBin.cpp80 size_t totalSize = 0; in GenerateProgramImpl() local
90 totalSize += size; in GenerateProgramImpl()
97 std::cout << "total: " << totalSize << std::endl; in GenerateProgramImpl()
/arkcompiler/ets_frontend/es2panda/aot/
H A Dmain.cpp72 size_t totalSize = 0; in DumpPandaFileSizeStatistic() local
81 totalSize += size; in DumpPandaFileSizeStatistic()
88 std::cout << "total: " << totalSize << std::endl; in DumpPandaFileSizeStatistic()
93 size_t totalSize = 0; in DumpPandaFileSizePctStatistic() local
101 totalSize += size; in DumpPandaFileSizePctStatistic()
114 std::fixed << std::setprecision(precision) << (size * percentFlag / totalSize) << "%" << std::endl; in DumpPandaFileSizePctStatistic()
117 std::cout << "total: " << totalSize << std::endl; in DumpPandaFileSizePctStatistic()
/arkcompiler/toolchain/tooling/test/testcases/
H A Djs_heapusage_recursion_test.h94 int totalSize = 0; in RecvHeapusageInfo() local
95 ret = result->GetInt("totalSize", &totalSize); in RecvHeapusageInfo()
H A Djs_heapusage_loop_test.h94 int totalSize = 0; in RecvHeapusageInfo() local
95 ret = result->GetInt("totalSize", &totalSize); in RecvHeapusageInfo()
H A Djs_heapusage_async_test.h89 int totalSize = 0; in RecvHeapusageInfo() local
90 ret = result->GetInt("totalSize", &totalSize); in RecvHeapusageInfo()
H A Djs_heapusage_test.h102 int totalSize = 0; in JsHeapusageTest()
103 ret = result->GetInt("totalSize", &totalSize); in JsHeapusageTest()
H A Djs_heapusage_step_test.h118 int totalSize = 0; in RecvHeapusageInfo() local
119 ret = result->GetInt("totalSize", &totalSize); in RecvHeapusageInfo()
/arkcompiler/ets_runtime/ecmascript/jspandafile/accessor/
H A Dmodule_data_accessor.cpp77 auto totalSize = regularImportNum + namespaceImportNum; in EnumerateImportEntry() local
78 if (totalSize == 0) { in EnumerateImportEntry()
84 importEntries = JSSharedArray::SetCapacity(thread, regularImportEntries, totalSize); in EnumerateImportEntry()
86 importEntries = TaggedArray::SetCapacity(thread, regularImportEntries, totalSize); in EnumerateImportEntry()
91 for (size_t idx = regularImportNum; idx < totalSize; idx++) { in EnumerateImportEntry()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Dgdb_jit.cpp389 uint32_t totalSize = sizeof(Elf64_Ehdr) + sizeof(Elf64_Phdr) + sizeof(SHSTR) + info.strtabHdr->sh_size; in CreateDebuggerElf() local
390 totalSize += info.symtabHdr->sh_entsize * info.symCnt + sizeof(Elf64_Sym); // for align in CreateDebuggerElf()
391 totalSize += ehFrame.size() + sizeof(uintptr_t); in CreateDebuggerElf()
392 totalSize += sizeof(Elf64_Shdr) * HEADER_CNT + sizeof(Elf64_Shdr); // for align in CreateDebuggerElf()
394 char *buffer = new char[totalSize]; in CreateDebuggerElf()
418 *elfSize = totalSize; in CreateDebuggerElf()
/arkcompiler/runtime_core/static_core/assembler/
H A Dpandasm.cpp189 size_t totalSize = 0; in EmitProgramInBinary() local
194 totalSize += size; in EmitProgramInBinary()
197 std::cout << "total: " << totalSize << std::endl; in EmitProgramInBinary()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Demit.h114 return totalSize; in GetTotalSize()
119 totalSize = value; in SetTotalSize()
124 totalSize += value; in IncreaseTotalSize()
133 uint64 totalSize = 0; member in maplebe::StructEmitInfo
/arkcompiler/toolchain/tooling/base/
H A Dpt_returns.h352 explicit GetHeapUsageReturns(double usedSize, double totalSize) in GetHeapUsageReturns() argument
353 : usedSize_(usedSize), totalSize_(totalSize) {} in GetHeapUsageReturns()
369 void SetTotalSize(const double &totalSize) in SetTotalSize() argument
371 totalSize_ = totalSize; in SetTotalSize()
H A Dpt_returns.cpp297 result->Add("totalSize", totalSize_); in ToJson()
316 double totalSize; in Create() local
317 ret = params.GetDouble("totalSize", &totalSize); in Create()
319 heapUsageReturns->totalSize_ = totalSize; in Create()
321 error += "Unknown 'totalSize';"; in Create()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dheap.h571 size_t totalSize = sOldSpace_->GetCommittedSize() + size; variable
572 return totalSize >= sOldSpace_->GetMaximumCapacity() + sOldSpace_->GetOutOfMemoryOvershootSize();
1400 size_t totalSize = oldSpace_->GetCommittedSize() + hugeObjectSpace_->GetCommittedSize() + size; variable
1401 return totalSize >= oldSpace_->GetMaximumCapacity() + oldSpace_->GetOvershootSize() +
1407 size_t totalSize = oldSpace_->GetHeapObjectSize() + hugeObjectSpace_->GetHeapObjectSize(); variable
1408 return totalSize >= oldSpace_->GetInitialCapacity() + oldSpace_->GetOvershootSize();
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
H A Dg1_analytics.cpp98 auto totalSize = collectionSet.Young().size() * DEFAULT_REGION_SIZE; in ReportSurvivedBytesRatio() local
99 auto ratio = liveBytes / totalSize; in ReportSurvivedBytesRatio()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_snapshot.h338 TraceNode &SetTotalSize(uint32_t totalSize) in SetTotalSize() argument
340 totalSize_ = totalSize; in SetTotalSize()
H A Dheap_profiler.cpp590 uint64_t totalSize = sizeof(uint64_t) * (4 + roots.size()) + sizeof(AddrTableItem) * heapTotalCnt; // 4 : file head in BinaryDump() local
593 char *chunk = new char[totalSize]; in BinaryDump()
H A Dheap_snapshot.cpp877 int totalSize = static_cast<int>(topNode->GetTotalSize()); in AddTraceNode() local
878 totalSize += size; in AddTraceNode()
879 topNode->SetTotalSize(totalSize); in AddTraceNode()
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dfile_item_container.cpp771 size_t totalSize; in DumpItemsStat() member
787 stat[name].totalSize += size; in DumpItemsStat()
800 os << " total size = " << elem.totalSize << std::endl; in DumpItemsStat()
/arkcompiler/toolchain/tooling/agent/
H A Druntime_impl.cpp125 double totalSize = 0; in GetHeapUsage() local
126 DispatchResponse response = runtime_->GetHeapUsage(&usedSize, &totalSize); in GetHeapUsage()
127 GetHeapUsageReturns result(usedSize, totalSize); in GetHeapUsage()
163 DispatchResponse RuntimeImpl::GetHeapUsage(double *usedSize, double *totalSize) in GetHeapUsage() argument
166 *totalSize = static_cast<double>(DFXJSNApi::GetHeapTotalSize(vm_)); in GetHeapUsage()
169 *totalSize = 0; in GetHeapUsage()
H A Druntime_impl.h35 DispatchResponse GetHeapUsage(double *usedSize, double *totalSize);
/arkcompiler/toolchain/tooling/test/
H A Ddebugger_returns_test.cpp309 double totalSize = 1; in HWTEST_F_L0() local
311 std::make_unique<GetHeapUsageReturns>(usedSize, totalSize); in HWTEST_F_L0()
319 ASSERT_EQ(getHeapUsageReturns->ToJson()->GetDouble("totalSize", &pTotalSize), Result::SUCCESS); in HWTEST_F_L0()
H A Dpt_returns_test.cpp295 msg = std::string() + R"({"id":0,"method":"PtReturns.Test","params":{"usedSize":20,"totalSize":20}})"; in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
H A Dllvm_ir_constructor.cpp1458 int32_t totalSize = regMask.count() * slotSize; in CreateInterpreterReturnRestoreRegs() local
1460 auto endRegOffset = startRegOffset + std::max(0, totalSize - dslotSize); in CreateInterpreterReturnRestoreRegs()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dtyped_native_inline_lowering.cpp1370 GateRef totalSize = builder_.Int32Add(requestIndex, elementSize); in LowerDataViewProtoFunc() local
1372 builder_.DeoptCheck(builder_.Int32LessThanOrEqual(totalSize, size), frameState, DeoptType::TOTALSIZEOVERFLOW); in LowerDataViewProtoFunc()

Completed in 39 milliseconds