/arkcompiler/ets_runtime/ecmascript/napi/include/ |
D | dfx_jsnapi.h | 53 int dumpFormat; member 64 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, const std::string &path, bool isVmM… 66 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, Stream *stream, Progress *progress … 69 …static void DumpCpuProfile(const EcmaVM *vm, int dumpFormat, bool isVmMode = true, bool isPrivate … 71 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, bool isVmMode = true, bool isPrivat… 73 …static void DumpHeapSnapshotAllVMs(const EcmaVM *vm, int dumpFormat, bool isVmMode = true, bool is…
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
D | heap_profiler.h | 79 bool DumpHeapSnapshot(DumpFormat dumpFormat, Stream *stream, Progress *progress = nullptr, 82 void DumpHeapSnapshot(DumpFormat dumpFormat, bool isVmMode = true, bool isPrivate = false, 122 std::string GenDumpFileName(DumpFormat dumpFormat);
|
D | heap_profiler_interface.h | 43 … virtual bool DumpHeapSnapshot(DumpFormat dumpFormat, Stream *stream, Progress *progress = nullptr, 47 … virtual void DumpHeapSnapshot(DumpFormat dumpFormat, bool isVmMode = true, bool isPrivate = false,
|
D | heap_profiler.cpp | 136 void HeapProfiler::DumpHeapSnapshot([[maybe_unused]] DumpFormat dumpFormat, [[maybe_unused]] bool i… in DumpHeapSnapshot() argument 148 …DumpHeapSnapshot(dumpFormat, &stream, nullptr, isVmMode, isPrivate, captureNumericValue, isFullGC); in DumpHeapSnapshot() 152 bool HeapProfiler::DumpHeapSnapshot(DumpFormat dumpFormat, Stream *stream, Progress *progress, in DumpHeapSnapshot() argument 179 FileStream newStream(GenDumpFileName(dumpFormat)); in DumpHeapSnapshot() 255 std::string HeapProfiler::GenDumpFileName(DumpFormat dumpFormat) in GenDumpFileName() argument 258 switch (dumpFormat) { in GenDumpFileName()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | dfx_jsnapi.cpp | 55 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() argument 61 DumpHeapSnapshot(vm, dumpFormat, &stream, nullptr, isVmMode, isPrivate, captureNumericValue); in DumpHeapSnapshot() 67 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() argument 75 heapProfile->DumpHeapSnapshot(ecmascript::DumpFormat(dumpFormat), stream, progress, in DumpHeapSnapshot() 84 void DFXJSNApi::DumpCpuProfile([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpCpuProfile() argument 106 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() argument 129 …DumpHeapSnapshot(vm, dumpFormat, &stream, nullptr, isVmMode, isPrivate, captureNumericValue, isFul… in DumpHeapSnapshot() 136 …XJSNApi::DumpHeapSnapshotAllVMs([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshotAllVMs() argument 146 DumpHeapSnapshot(vm, dumpFormat, isVmMode, isPrivate, captureNumericValue, isFullGC); in DumpHeapSnapshotAllVMs() 155 dumpStruct->dumpFormat = dumpFormat; in DumpHeapSnapshotAllVMs() [all …]
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | dfx_jsnapi_tests.cpp | 79 const int dumpFormat = static_cast<int>(ecmascript::DumpFormat::JSON); in HWTEST_F_L0() local 91 … DFXJSNApi::DumpHeapSnapshot(vm_, dumpFormat, filePath, isVmMode, isPrivate, captureNumericValue); in HWTEST_F_L0() 107 const int dumpFormat = static_cast<int>(ecmascript::DumpFormat::JSON); in HWTEST_F_L0() local 123 …DFXJSNApi::DumpHeapSnapshot(vm_, dumpFormat, &stream, progress, isVmMode, isPrivate, captureNumeri… in HWTEST_F_L0()
|