Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_snapshot_json_serializer.cpp23 bool HeapSnapshotJSONSerializer::Serialize(HeapSnapshot *snapshot, Stream *stream) in Serialize() argument
27 ASSERT(snapshot->GetNodes() != nullptr && snapshot->GetEdges() != nullptr && in Serialize()
28 snapshot->GetEcmaStringTable() != nullptr); in Serialize()
31 SerializeSnapshotHeader(snapshot, writer); // 1. in Serialize()
32 SerializeNodes(snapshot, writer); // 2. in Serialize()
33 SerializeEdges(snapshot, writer); // 3. in Serialize()
34 SerializeTraceFunctionInfo(snapshot, writer); // 4. in Serialize()
35 SerializeTraceTree(snapshot, writer); // 5. in Serialize()
36 SerializeSamples(snapshot, write in Serialize()
48 DumpStringTable(HeapSnapshot *snapshot, Stream *stream) DumpStringTable() argument
93 SerializeSnapshotHeader(HeapSnapshot *snapshot, StreamWriter *writer) SerializeSnapshotHeader() argument
131 SerializeNodes(HeapSnapshot *snapshot, StreamWriter *writer) SerializeNodes() argument
166 SerializeEdges(HeapSnapshot *snapshot, StreamWriter *writer) SerializeEdges() argument
195 SerializeTraceFunctionInfo(HeapSnapshot *snapshot, StreamWriter *writer) SerializeTraceFunctionInfo() argument
226 SerializeTraceTree(HeapSnapshot *snapshot, StreamWriter *writer) SerializeTraceTree() argument
262 SerializeSamples(HeapSnapshot *snapshot, StreamWriter *writer) SerializeSamples() argument
288 SerializeStringTable(HeapSnapshot *snapshot, StreamWriter *writer) SerializeStringTable() argument
[all...]
H A Dheap_snapshot_json_serializer.h113 static bool Serialize(HeapSnapshot *snapshot, Stream *stream);
114 static void DumpStringTable(HeapSnapshot *snapshot, Stream *stream);
122 static void SerializeSnapshotHeader(HeapSnapshot *snapshot, StreamWriter *writer);
123 static void SerializeNodes(HeapSnapshot *snapshot, StreamWriter *writer);
124 static void SerializeEdges(HeapSnapshot *snapshot, StreamWriter *writer);
125 static void SerializeTraceFunctionInfo(HeapSnapshot *snapshot, StreamWriter *writer);
126 static void SerializeTraceTree(HeapSnapshot *snapshot, StreamWriter *writer);
128 static void SerializeSamples(HeapSnapshot *snapshot, StreamWriter *writer);
130 static void SerializeStringTable(HeapSnapshot *snapshot, StreamWriter *writer);
H A Dheap_tracker.h33 HeapTrackerSample(HeapSnapshot *snapshot, double timeInterval, Stream *stream) in HeapTrackerSample() argument
34 : timeInterval_(timeInterval), snapshot_(snapshot), stream_(stream) in HeapTrackerSample()
72 HeapTracker(HeapSnapshot *snapshot, double timeInterval, Stream *stream) in HeapTracker() argument
73 : snapshot_(snapshot), sample_(snapshot, timeInterval, stream) {} in HeapTracker()
H A Dheap_profiler.cpp95 void EntryIdMap::UpdateEntryIdMap(HeapSnapshot *snapshot) in UpdateEntryIdMap() argument
97 if (snapshot == nullptr) { in UpdateEntryIdMap()
98 LOG_ECMA(FATAL) << "EntryIdMap::UpdateEntryIdMap:snapshot is nullptr"; in UpdateEntryIdMap()
101 auto nodes = snapshot->GetNodes(); in UpdateEntryIdMap()
149 void HeapProfiler::UpdateHeapObjects(HeapSnapshot *snapshot) in UpdateHeapObjects() argument
152 snapshot->UpdateNodes(); in UpdateHeapObjects()
178 HeapSnapshot *snapshot = nullptr; in DoDump() local
188 snapshot = MakeHeapSnapshot(SampleType::ONE_SHOT, dumpOption); in DoDump()
189 ASSERT(snapshot != nullptr); in DoDump()
191 entryIdMap_->UpdateEntryIdMap(snapshot); in DoDump()
290 DecodeObj(RawHeapInfoArgs &rawHeapArgs, HeapSnapshot *snapshot) DecodeObj() argument
381 auto *snapshot = new HeapSnapshot(vm_, GetEcmaStringTable(), dumpOption, traceAllocation, entryIdMap_, GetChunk()); GenerateHeapSnapshot() local
538 FillAddrTable(const EcmaVM *vm, EntryIdMap &idMap, AddrTableItem *table, HeapSnapshot *snapshot) FillAddrTable() argument
735 HeapSnapshot *snapshot = MakeHeapSnapshot(SampleType::REAL_TIME, dumpOption, traceAllocation); StartHeapTracking() local
755 HeapSnapshot *snapshot = heapTracker_->GetHeapSnapshot(); UpdateHeapTracking() local
787 HeapSnapshot *snapshot = heapTracker_->GetHeapSnapshot(); StopHeapTracking() local
882 auto *snapshot = GetChunk()->New<HeapSnapshot>(vm_, GetEcmaStringTable(), dumpOption, MakeHeapSnapshot() local
892 auto *snapshot = GetChunk()->New<HeapSnapshot>(vm_, GetEcmaStringTable(), dumpOption, MakeHeapSnapshot() local
907 AddSnapshot(HeapSnapshot *snapshot) AddSnapshot() argument
[all...]
H A Dheap_profiler.h46 void UpdateEntryIdMap(HeapSnapshot *snapshot);
140 * dump the specific snapshot in target format
144 void AddSnapshot(HeapSnapshot *snapshot);
179 * make a new heap snapshot and put it into a container eg, vector
186 void UpdateHeapObjects(HeapSnapshot *snapshot);
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Daot_file_manager.cpp23 #include "ecmascript/snapshot/mem/snapshot.h"
112 Snapshot snapshot(vm_); in LoadAiFile()
115 return snapshot.Deserialize(SnapshotType::AI, filename.c_str(), GetJsAotReader()); in LoadAiFile()
117 return snapshot.Deserialize(SnapshotType::AI, filename.c_str()); in LoadAiFile()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dtype_info_accessors.cpp667 AOTSnapshot& snapshot = ptManager_->GetAOTSnapshot(); in GetKeyTaggedValue() local
668 auto symbolInfo = snapshot.GetSymbolInfo(); in GetKeyTaggedValue()
767 AOTSnapshot& snapshot = ptManager_->GetAOTSnapshot(); in GetKeyTaggedValue() local
768 auto symbolInfo = snapshot.GetSymbolInfo(); in GetKeyTaggedValue()
H A Dfile_generators.cpp25 #include "ecmascript/snapshot/mem/snapshot.h"
788 Snapshot snapshot(compilationEnv_->GetEcmaVM()); in SaveSnapshotFile()
799 snapshot.Serialize(aiPath); in SaveSnapshotFile()
/arkcompiler/runtime_core/static_core/scripts/
H A Dinstall-deps-ubuntu33 curl --retry 5 --retry-delay 10 -k ${llvm_gpg_url}/llvm-snapshot.gpg.key | apt-key add -

Completed in 10 milliseconds