| /arkcompiler/ets_runtime/ecmascript/mem/shared_heap/ |
| D | shared_concurrent_marker.cpp | 59 + std::to_string(static_cast<int>(sHeap_->GetEcmaGCStats()->GetMarkReason())) in Mark() 60 + ";Sensitive" + std::to_string(static_cast<int>(sHeap_->GetSensitiveStatus())) in Mark() 61 + ";IsInBackground" + std::to_string(sHeap_->IsInBackground()) in Mark() 62 + ";Startup" + std::to_string(static_cast<int>(sHeap_->GetStartupStatus())) in Mark() 63 + ";Old" + std::to_string(sHeap_->GetOldSpace()->GetCommittedSize()) in Mark() 64 + ";huge" + std::to_string(sHeap_->GetHugeObjectSpace()->GetCommittedSize()) in Mark() 65 + ";NonMov" + std::to_string(sHeap_->GetNonMovableSpace()->GetCommittedSize()) in Mark() 66 + ";TotCommit" + std::to_string(sHeap_->GetCommittedSize()) in Mark() 67 + ";NativeBindingSize" + std::to_string(sHeap_->GetNativeSizeAfterLastGC()) in Mark() 68 + ";NativeLimitGC" + std::to_string(sHeap_->GetNativeSizeTriggerSharedGC()) in Mark() [all …]
|
| D | shared_gc.cpp | 31 + std::to_string(static_cast<int>(sHeap_->GetEcmaGCStats()->GetGCReason())) in RunPhases() 32 … + ";MarkReason" + std::to_string(static_cast<int>(sHeap_->GetEcmaGCStats()->GetMarkReason())) in RunPhases() 33 + ";Sensitive" + std::to_string(static_cast<int>(sHeap_->GetSensitiveStatus())) in RunPhases() 34 + ";IsInBackground" + std::to_string(sHeap_->IsInBackground()) in RunPhases() 35 + ";Startup" + std::to_string(static_cast<int>(sHeap_->GetStartupStatus())) in RunPhases() 36 + ";Old" + std::to_string(sHeap_->GetOldSpace()->GetCommittedSize()) in RunPhases() 37 + ";huge" + std::to_string(sHeap_->GetHugeObjectSpace()->GetCommittedSize()) in RunPhases() 38 + ";NonMov" + std::to_string(sHeap_->GetNonMovableSpace()->GetCommittedSize()) in RunPhases() 39 + ";TotCommit" + std::to_string(sHeap_->GetCommittedSize()) in RunPhases() 40 + ";NativeBindingSize" + std::to_string(sHeap_->GetNativeSizeAfterLastGC()) in RunPhases() [all …]
|
| D | shared_full_gc.cpp | 28 + std::to_string(static_cast<int>(sHeap_->GetEcmaGCStats()->GetGCReason())) in RunPhases() 29 + ";Sensitive" + std::to_string(static_cast<int>(sHeap_->GetSensitiveStatus())) in RunPhases() 30 + ";IsInBackground" + std::to_string(sHeap_->IsInBackground()) in RunPhases() 31 + ";Startup" + std::to_string(static_cast<int>(sHeap_->GetStartupStatus())) in RunPhases() 32 + ";Old" + std::to_string(sHeap_->GetOldSpace()->GetCommittedSize()) in RunPhases() 33 + ";huge" + std::to_string(sHeap_->GetHugeObjectSpace()->GetCommittedSize()) in RunPhases() 34 + ";NonMov" + std::to_string(sHeap_->GetNonMovableSpace()->GetCommittedSize()) in RunPhases() 35 + ";TotCommit" + std::to_string(sHeap_->GetCommittedSize()) in RunPhases() 36 + ";NativeBindingSize" + std::to_string(sHeap_->GetNativeSizeAfterLastGC()) in RunPhases() 37 + ";NativeLimitGC" + std::to_string(sHeap_->GetNativeSizeTriggerSharedGC()) in RunPhases() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | partial_gc.cpp | 36 ("PartialGC::RunPhases" + std::to_string(heap_->IsConcurrentFullMark()) in RunPhases() 37 + ";GCReason" + std::to_string(static_cast<int>(gcStats->GetGCReason())) in RunPhases() 38 + ";MarkReason" + std::to_string(static_cast<int>(gcStats->GetMarkReason())) in RunPhases() 39 + ";Sensitive" + std::to_string(static_cast<int>(heap_->GetSensitiveStatus())) in RunPhases() 40 + ";IsInBackground" + std::to_string(heap_->IsInBackground()) in RunPhases() 41 + ";Startup" + std::to_string(static_cast<int>(heap_->GetStartupStatus())) in RunPhases() 42 + ";ConMark" + std::to_string(static_cast<int>(heap_->GetJSThread()->GetMarkStatus())) in RunPhases() 43 + ";Young" + std::to_string(heap_->GetNewSpace()->GetCommittedSize()) in RunPhases() 44 + ";Old" + std::to_string(heap_->GetOldSpace()->GetCommittedSize()) in RunPhases() 45 + ";TotalCommit" + std::to_string(heap_->GetCommittedSize()) in RunPhases() [all …]
|
| D | concurrent_marker.cpp | 84 ("ConcurrentMarker::Mark" + std::to_string(heap_->IsFullMarkRequested()) in Mark() 85 + ";MarkReason" + std::to_string(static_cast<int>(gcStats->GetMarkReason())) in Mark() 86 + ";Sensitive" + std::to_string(static_cast<int>(heap_->GetSensitiveStatus())) in Mark() 87 + ";IsInBackground" + std::to_string(heap_->IsInBackground()) in Mark() 88 + ";Startup" + std::to_string(static_cast<int>(heap_->GetStartupStatus())) in Mark() 89 + ";ConMark" + std::to_string(static_cast<int>(heap_->GetJSThread()->GetMarkStatus())) in Mark() 90 + ";Young" + std::to_string(heap_->GetNewSpace()->GetCommittedSize()) in Mark() 91 + ";Old" + std::to_string(heap_->GetOldSpace()->GetCommittedSize()) in Mark() 92 + ";TotalCommit" + std::to_string(heap_->GetCommittedSize()) in Mark() 93 + ";NativeBindingSize" + std::to_string(heap_->GetNativeBindingSize()) in Mark() [all …]
|
| D | full_gc.cpp | 35 + std::to_string(static_cast<int>(gcStats->GetGCReason())) in RunPhases() 36 + ";Sensitive" + std::to_string(static_cast<int>(heap_->GetSensitiveStatus())) in RunPhases() 37 + ";IsInBackground" + std::to_string(heap_->IsInBackground()) in RunPhases() 38 + ";Startup" + std::to_string(static_cast<int>(heap_->GetStartupStatus())) in RunPhases() 39 + ";Young" + std::to_string(heap_->GetNewSpace()->GetCommittedSize()) in RunPhases() 40 + ";Old" + std::to_string(heap_->GetOldSpace()->GetCommittedSize()) in RunPhases() 41 + ";huge" + std::to_string(heap_->GetHugeObjectSpace()->GetCommittedSize()) in RunPhases() 42 + ";NonMov" + std::to_string(heap_->GetNonMovableSpace()->GetCommittedSize()) in RunPhases() 43 + ";TotCommit" + std::to_string(heap_->GetCommittedSize()) in RunPhases() 45 + std::to_string(heap_->GetRecordHeapObjectSizeBeforeSensitive())).c_str(), ""); in RunPhases()
|
| D | gc_stats.cpp | 55 … << "StartupStatus: " << std::to_string(static_cast<int>(heap_->GetStartupStatus())) << "; " in PrintGCStatistic() 57 << "; Young: " << std::to_string(heap_->GetNewSpace()->GetCommittedSize()) in PrintGCStatistic() 58 << "; Old: " << std::to_string(heap_->GetOldSpace()->GetCommittedSize()) in PrintGCStatistic() 59 << "; TotalCommit" << std::to_string(heap_->GetCommittedSize()); in PrintGCStatistic() 162 ("PartialGC::Finish" + std::to_string(heap_->IsConcurrentFullMark()) in GCFinishTrace() 163 + ";Reason" + std::to_string(static_cast<int>(gcReason_)) in GCFinishTrace() 164 + ";Sensitive" + std::to_string(static_cast<int>(heap_->GetSensitiveStatus())) in GCFinishTrace() 165 + ";IsInBackground" + std::to_string(heap_->IsInBackground()) in GCFinishTrace() 166 + ";Startup" + std::to_string(heap_->OnStartupEvent()) in GCFinishTrace() 167 + ";ConMark" + std::to_string(static_cast<int>(heap_->GetJSThread()->GetMarkStatus())) in GCFinishTrace() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_tree_map_test.cpp | 62 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 63 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0() 76 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 77 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0() 100 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 101 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0() 109 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 116 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 117 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0() 129 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() [all …]
|
| D | js_handle_test.cpp | 54 std::string test = "test" + std::to_string(i); in GlobalHandleCommon() 72 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() 81 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() 106 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() 119 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() 126 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() 172 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() 185 std::string test = "test" + std::to_string(i); in HWTEST_F_L0()
|
| D | js_api_tree_set_test.cpp | 55 std::string ikey = myKey + std::to_string(i); in TestCommon() 86 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 108 std::string ikey = myKey + std::to_string(NODE_NUMBERS); in HWTEST_F_L0() 115 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 123 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 132 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 154 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 180 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0() 187 std::string fkey = myKey + std::to_string(0); in HWTEST_F_L0() 196 std::string lkey = myKey + std::to_string(NODE_NUMBERS - 1); in HWTEST_F_L0()
|
| D | js_api_tree_map_iterator_test.cpp | 42 std::string ikey = mapKeyValue[0] + std::to_string(i); in TestKeyValueCommon() 43 std::string ivalue = mapKeyValue[1] + std::to_string(valueNext ? i + 1U : i); in TestKeyValueCommon() 94 std::string ikey = mapKey + std::to_string(i); in HWTEST_F_L0() 95 std::string ivalue = mapValue + std::to_string(i + 2U); in HWTEST_F_L0() 105 std::string ikey = mapKey + std::to_string(i); in HWTEST_F_L0() 106 std::string ivalue = mapValue + std::to_string(i + 2U); in HWTEST_F_L0() 197 std::string resultKey = mapKey + std::to_string(i); in HWTEST_F_L0() 231 std::string resultKey = mapValue + std::to_string(i + 1U); in HWTEST_F_L0() 250 std::string ikey = mapKey + std::to_string(i + 1U); in HWTEST_F_L0() 251 std::string ivalue = mapValue + std::to_string(i + 2U); in HWTEST_F_L0() [all …]
|
| /arkcompiler/toolchain/websocket/test/ |
| D | websocket_test.cpp | 76 ret = serverSocket.InitUnixWebSocket(UNIX_DOMAIN_PATH_1 + std::to_string(appPid), 5); 89 …t = clientSocket.InitToolchainWebSocketForSockName(UNIX_DOMAIN_PATH_1 + std::to_string(appPid), 5); 171 ret = serverSocket.InitUnixWebSocket(UNIX_DOMAIN_PATH_2 + std::to_string(appPid), 5); 185 …t = clientSocket.InitToolchainWebSocketForSockName(UNIX_DOMAIN_PATH_2 + std::to_string(appPid), 5); 194 retClient = clientSocket.SendReply(HELLO_SERVER + std::to_string(i)); 197 EXPECT_EQ(strcmp(recv.c_str(), (HELLO_CLIENT + std::to_string(i)).c_str()), 0); 198 if (strcmp(recv.c_str(), (HELLO_CLIENT + std::to_string(i)).c_str()) == 0) { 199 retClient = clientSocket.SendReply(CLIENT_OK + std::to_string(i)); 209 EXPECT_EQ(strcmp(recv.c_str(), (HELLO_SERVER + std::to_string(i)).c_str()), 0); 210 serverSocket.SendReply(HELLO_CLIENT + std::to_string(i)); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/module/ |
| D | module_logger.cpp | 44 base::AppendToBaseString(path, "_", std::to_string(tid_)); in CreateResultFile() 61 base::AppendToBaseString(path, "_", std::to_string(tid_)); in OpenResultFile() 136 std::to_string(totalFileNumber_), ", total time: ", in PrintSummary() 137 std::to_string(totalTime_), "ms, including used file:", std::to_string(usedFileNumber_), in PrintSummary() 138 ", cost time: ", std::to_string(usedFileTime_), "ms, and unused file: ", in PrintSummary() 139 … std::to_string(unusedFileNumber_), ", cost time: ", std::to_string(unusedFileTime_), "ms\n"); in PrintSummary() 154 std::to_string(usedFileNumber_), ", cost time: ", std::to_string(usedFileTime_), "ms\n"); in PrintUsedFileInfo() 161 std::to_string(fileNumber++), ": ", i.first.c_str(), in PrintUsedFileInfo() 168 std::to_string(parentModuleCount++), ": ", k.first.c_str(), " "); in PrintUsedFileInfo() 192 … std::to_string(unusedFileNumber_), ", cost time: ", std::to_string(unusedFileTime_), "ms\n"); in PrintUnusedFileInfo() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/dfx/tracing/ |
| D | tracing.cpp | 99 args += "\"processId\":" + std::to_string(getpid()) + ","; in TraceEventRecordTracingStart() 123 …std::string args = "{\"data\":{\"jsHeapSizeUsed\":" + std::to_string(DFXJSNApi::GetHeapUsedSize(vm… in TraceEventRecordMemory() 132 std::string args = "{\"data\":{\"startTime\":" + std::to_string(profileInfo->startTime) + "}}"; in TraceEventRecordCpuProfilerStart() 192 … args += "\"columnNumber\":" + std::to_string(nodeInfo.codeEntry.columnNumber) + ","; in TraceEventUpdateCpuProfiler() 196 args += "\"lineNumber\":" + std::to_string(nodeInfo.codeEntry.lineNumber) + ","; in TraceEventUpdateCpuProfiler() 198 args += "\"scriptId\":" + std::to_string(nodeInfo.codeEntry.scriptId) + ","; in TraceEventUpdateCpuProfiler() 205 args += "\"id\":" + std::to_string(nodeInfo.id) + ","; in TraceEventUpdateCpuProfiler() 207 args += "\"parent\":" + std::to_string(nodeInfo.parentId) + ","; in TraceEventUpdateCpuProfiler() 209 args += "\"hitCount\":" + std::to_string(nodeInfo.hitCount) + ","; in TraceEventUpdateCpuProfiler() 212 args += std::to_string(it) + ","; in TraceEventUpdateCpuProfiler() [all …]
|
| /arkcompiler/jsvm/src/platform/ |
| D | platform_ohos.cpp | 165 std::unordered_map<std::string, std::string> payLoad = { { "uid", std::to_string(uid) }, in ReportKeyThread() 166 { "pid", std::to_string(pid) }, in ReportKeyThread() 167 { "tid", std::to_string(tid) }, in ReportKeyThread() 168 { "role", std::to_string(role) } }; in ReportKeyThread() 183 std::unordered_map<std::string, std::string> payLoad = { { "uid", std::to_string(uid) }, in ReportKeyThread() 184 { "pid", std::to_string(pid) }, in ReportKeyThread() 185 { "tid", std::to_string(tid) }, in ReportKeyThread() 186 { "role", std::to_string(role) } }; in ReportKeyThread() 260 std::string filePath = "/proc/" + std::to_string(pid) + "/cmdline"; in ProcessBundleName()
|
| /arkcompiler/ets_runtime/common_components/heap/collector/ |
| D | gc_stats.cpp | 97 "collectedObjects:" + std::to_string(collectedObjects) + in Dump() 98 ";collectedBytes:" + std::to_string(collectedBytes) + in Dump() 99 ";liveSize:" + std::to_string(liveSize) + in Dump() 100 ";heapSize:" + std::to_string(heapSize) + in Dump()
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/ |
| D | debugger.cpp | 85 … std::to_string(location.GetBytecodeOffset()) + ") >= method code size (" + in CheckLocationInClass() 86 std::to_string(codeSize) + ")"); in CheckLocationInClass() 119 … std::string("Cannot find method with id ") + std::to_string(location.GetMethodId().GetOffset()) + in CheckLocation() 138 std::to_string(location.GetBytecodeOffset())); in SetBreakpoint() 213 … std::string("Thread " + std::to_string(thread.GetId()) + " is not suspended"))); in GetPandaFrameByPtThread() 225 … std::string("Frame not found or native, threadId=" + std::to_string(thread.GetId()) + in GetPandaFrameByPtThread() 226 " frameDepth=" + std::to_string(frameDepth)))); in GetPandaFrameByPtThread() 243 …or::Type::INVALID_REGISTER, std::string("Invalid register number: ") + std::to_string(regNumber))); in GetVRegByPandaFrame() 258 …or::Type::INVALID_REGISTER, std::string("Invalid register number: ") + std::to_string(regNumber))); in GetVRegByPandaFrameDyn() 275 std::to_string(thread.GetId()))); in GetThisVariableByFrame() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
| D | samples_record.cpp | 146 + std::to_string(profileInfo_->tid) + ",\"startTime\":" in StringifySampleData() 147 + std::to_string(profileInfo_->startTime) + ",\"endTime\":" in StringifySampleData() 148 + std::to_string(profileInfo_->stopTime) + ","; in StringifySampleData() 158 + std::to_string(profileInfo_->gcTime) + ",\"cInterpreterTime\":" in StringifyStateTimeStatistic() 159 + std::to_string(profileInfo_->cInterpreterTime) + ",\"asmInterpreterTime\":" in StringifyStateTimeStatistic() 160 + std::to_string(profileInfo_->asmInterpreterTime) + ",\"aotTime\":" in StringifyStateTimeStatistic() 161 + std::to_string(profileInfo_->aotTime) + ",\"asmInterpreterDeoptTime\":" in StringifyStateTimeStatistic() 162 + std::to_string(profileInfo_->asmInterpreterDeoptTime) + ",\"builtinTime\":" in StringifyStateTimeStatistic() 163 + std::to_string(profileInfo_->builtinTime) + ",\"napiTime\":" in StringifyStateTimeStatistic() 164 + std::to_string(profileInfo_->napiTime) + ",\"arkuiEngineTime\":" in StringifyStateTimeStatistic() [all …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/tests/ |
| D | file_format_version_test.cpp | 25 versionstr += std::to_string(VERSION[i]); in TEST() 38 versionstr += std::to_string(MIN_VERSION[i]); in TEST()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/rawheap_translate/ |
| D | utils.cpp | 82 filename += std::to_string(now->tm_year + timeStart); in RealPath() 83 filename += '-' + std::to_string(now->tm_mon + 1); in RealPath() 84 filename += '-' + std::to_string(now->tm_mday); in RealPath() 85 filename += '-' + std::to_string(now->tm_hour); in RealPath() 86 filename += '-' + std::to_string(now->tm_min); in RealPath() 87 filename += '-' + std::to_string(now->tm_sec); in RealPath()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
| D | x64_optimize_common.cpp | 27 …std::string lableName = ".L." + std::to_string(GetCGFunc()->GetUniqueID()) + "__" + std::to_string… in ModifyJumpTarget()
|
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | file_format_version_test.cpp | 25 versionstr += std::to_string(version[i]); 38 versionstr += std::to_string(minVersion[i]);
|
| /arkcompiler/ets_runtime/ecmascript/platform/common/ |
| D | map.cpp | 26 return std::string(HEAP_TAG).append(std::to_string(threadId)).append(spaceName); in GetPageTagString() 31 return std::string(CODE_TAG).append(std::to_string(threadId)); in GetPageTagString()
|
| /arkcompiler/runtime_core/platforms/windows/libpandabase/ |
| D | library_loader.cpp | 29 std::to_string(GetLastError()))); in Load() 40 std::to_string(GetLastError()))); in ResolveSymbol()
|
| /arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/ |
| D | library_loader.cpp | 29 std::to_string(GetLastError()))); in Load() 40 std::to_string(GetLastError()))); in ResolveSymbol()
|