/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | generateBin.cpp | 80 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 D | main.cpp | 72 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 D | js_heapusage_recursion_test.h | 94 int totalSize = 0; in RecvHeapusageInfo() local 95 ret = result->GetInt("totalSize", &totalSize); in RecvHeapusageInfo()
|
H A D | js_heapusage_loop_test.h | 94 int totalSize = 0; in RecvHeapusageInfo() local 95 ret = result->GetInt("totalSize", &totalSize); in RecvHeapusageInfo()
|
H A D | js_heapusage_async_test.h | 89 int totalSize = 0; in RecvHeapusageInfo() local 90 ret = result->GetInt("totalSize", &totalSize); in RecvHeapusageInfo()
|
H A D | js_heapusage_test.h | 102 int totalSize = 0; in JsHeapusageTest() 103 ret = result->GetInt("totalSize", &totalSize); in JsHeapusageTest()
|
H A D | js_heapusage_step_test.h | 118 int totalSize = 0; in RecvHeapusageInfo() local 119 ret = result->GetInt("totalSize", &totalSize); in RecvHeapusageInfo()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/accessor/ |
H A D | module_data_accessor.cpp | 77 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 D | gdb_jit.cpp | 389 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 D | pandasm.cpp | 189 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 D | emit.h | 114 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 D | pt_returns.h | 352 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 D | pt_returns.cpp | 297 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 D | heap.h | 571 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 D | g1_analytics.cpp | 98 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 D | heap_snapshot.h | 338 TraceNode &SetTotalSize(uint32_t totalSize) in SetTotalSize() argument 340 totalSize_ = totalSize; in SetTotalSize()
|
H A D | heap_profiler.cpp | 590 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 D | heap_snapshot.cpp | 877 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 D | file_item_container.cpp | 771 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 D | runtime_impl.cpp | 125 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 D | runtime_impl.h | 35 DispatchResponse GetHeapUsage(double *usedSize, double *totalSize);
|
/arkcompiler/toolchain/tooling/test/ |
H A D | debugger_returns_test.cpp | 309 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 D | pt_returns_test.cpp | 295 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 D | llvm_ir_constructor.cpp | 1458 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 D | typed_native_inline_lowering.cpp | 1370 GateRef totalSize = builder_.Int32Add(requestIndex, elementSize); in LowerDataViewProtoFunc() local 1372 builder_.DeoptCheck(builder_.Int32LessThanOrEqual(totalSize, size), frameState, DeoptType::TOTALSIZEOVERFLOW); in LowerDataViewProtoFunc()
|