Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 57) sorted by relevance

123

/developtools/smartperf_host/trace_streamer/src/filter/
Dslice_filter.cpp241 void SliceFilter::CloseUnMatchedSlice(int64_t ts, SlicesStack& stack, InternalTid itid) in CloseUnMatchedSlice() argument
245 for (int32_t i = stack.size() - 1; i >= 0; i--) { in CloseUnMatchedSlice()
246 uint32_t sliceIdx = stack[i].index; in CloseUnMatchedSlice()
258 for (int32_t j = stack.size() - 1; j > i; --j) { in CloseUnMatchedSlice()
259 uint32_t childIdx = stack[i].index; in CloseUnMatchedSlice()
261 stack.pop_back(); in CloseUnMatchedSlice()
263 stack.pop_back(); in CloseUnMatchedSlice()
268 stack.pop_back(); in CloseUnMatchedSlice()
273 int32_t SliceFilter::MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, Dat… in MatchingIncompleteSliceIndex() argument
276 for (int32_t i = stack.size() - 1; i >= 0; i--) { in MatchingIncompleteSliceIndex()
[all …]
Dslice_filter.h111 void CloseUnMatchedSlice(int64_t ts, SlicesStack& stack, InternalTid itid);
112 …int32_t MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, DataIndex name);
/developtools/profiler/host/smartperf/trace_streamer/src/filter/
Dslice_filter.cpp241 void SliceFilter::CloseUnMatchedSlice(int64_t ts, SlicesStack& stack, InternalTid itid) in CloseUnMatchedSlice() argument
245 for (int32_t i = stack.size() - 1; i >= 0; i--) { in CloseUnMatchedSlice()
246 uint32_t sliceIdx = stack[i].index; in CloseUnMatchedSlice()
258 for (int32_t j = stack.size() - 1; j > i; --j) { in CloseUnMatchedSlice()
259 uint32_t childIdx = stack[i].index; in CloseUnMatchedSlice()
261 stack.pop_back(); in CloseUnMatchedSlice()
263 stack.pop_back(); in CloseUnMatchedSlice()
268 stack.pop_back(); in CloseUnMatchedSlice()
273 int32_t SliceFilter::MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, Dat… in MatchingIncompleteSliceIndex() argument
276 for (int32_t i = stack.size() - 1; i >= 0; i--) { in MatchingIncompleteSliceIndex()
[all …]
Dslice_filter.h111 void CloseUnMatchedSlice(int64_t ts, SlicesStack& stack, InternalTid itid);
112 …int32_t MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, DataIndex name);
/developtools/hiperf/demo/cpp/
Dhiperf_example_cmd.cpp44 int stack {5}; member
197 if (option.stack > 0) { in CallStack10()
204 if (option.stack > 0) { in CallStack9()
216 if (option.stack > 0) { in CallStack8()
228 if (option.stack > 0) { in CallStack7()
240 if (option.stack > 0) { in CallStack6()
252 if (option.stack > 0) { in CallStack5()
264 if (option.stack > 0) { in CallStack4()
276 if (option.stack > 0) { in CallStack3()
288 if (option.stack > 0) { in CallStack2()
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/hiperf/
DTabPerfSampleList.ts104 for (let stack of result) {
105 let files = (perfDataQuery.filesData[stack.fileId] ?? []) as Array<PerfFile>;
106 stack.path = files[stack.symbolId].path;
107stack.type = stack.path.endsWith('.so.1') || stack.path.endsWith('.dll') || stack.path.endsWith('.…
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/
DTabPerfSampleList.ts104 for (let stack of result) {
105 let files = (perfDataQuery.filesData[stack.fileId] ?? []) as Array<PerfFile>;
106 stack.path = files[stack.symbolId].path;
107stack.type = stack.path.endsWith('.so.1') || stack.path.endsWith('.dll') || stack.path.endsWith('.…
/developtools/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerNativeNemory.ts696 traverseSampleTree(stack: NativeHookCallInfo, hook: NativeHookStatistics) {
697 stack.count += 1;
698 stack.countValue = `${stack.count}`;
699 stack.countPercent = `${((stack.count / this.selectTotalCount) * 100).toFixed(1)}%`;
700 stack.size += hook.heapSize;
701 stack.tid = hook.tid;
702 stack.threadName = hook.threadName;
703 stack.heapSizeStr = `${getByteWithUnit(stack.size)}`;
704 stack.heapPercent = `${((stack.size / this.selectTotalSize) * 100).toFixed(1)}%`;
705 if (stack.children.length > 0) {
[all …]
DProcedureLogicWorkerJsCpuProfiler.ts216 sample.stack = this.getFullCallChainOfNode(stackTopSymbol);
222 …if (this.isSymbolEqual(sample.stack[0], lastCallChart) && lastCallChart.endTime === sample.startTi…
364 for (const [idx, symbol] of sample.stack!.entries()) {
374 if (idx + 1 === sample.stack?.length) {
390 for (const [idx, symbol] of sample.stack!.entries()) {
392 const isLastSymbol = idx + 1 === sample.stack?.length;
541 stack?: Array<JsProfilerSymbol>;
DProcedureLogicWorkerFileSystem.ts383 let stack = stacks[0];
385 stack.symbolsId == null ? stack.ip : this.dataCache.dataDict?.get(stack.symbolsId) ?? '',
423 let stack = stacks[0];
425 …r.symbol = stack.symbolsId == null ? stack.ip : this.dataCache.dataDict?.get(stack.symbolsId) ?? '…
/developtools/profiler/host/smartperf/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerNativeNemory.ts643 traverseSampleTree(stack: NativeHookCallInfo, hook: NativeHookStatistics) {
644 stack.count += 1;
645 stack.countValue = `${stack.count}`;
646 stack.countPercent = `${((stack.count / this.selectTotalCount) * 100).toFixed(1)}%`;
647 stack.size += hook.heapSize;
648 stack.tid = hook.tid;
649 stack.threadName = hook.threadName;
650 stack.heapSizeStr = `${getByteWithUnit(stack.size)}`;
651 stack.heapPercent = `${((stack.size / this.selectTotalSize) * 100).toFixed(1)}%`;
652 if (stack.children.length > 0) {
[all …]
DProcedureLogicWorkerFileSystem.ts383 let stack = stacks[0];
385 stack.symbolsId == null ? stack.ip : this.dataCache.dataDict?.get(stack.symbolsId) ?? '',
423 let stack = stacks[0];
425 …r.symbol = stack.symbolsId == null ? stack.ip : this.dataCache.dataDict?.get(stack.symbolsId) ?? '…
/developtools/ace_js2bundle/ace-loader/sample/lite/pages/detail/
Ddetail.hml1 <stack
11 </stack>
/developtools/profiler/host/smartperf/ide/src/js-heap/logic/
DHeapLoader.ts223 let stack = 0; variable
230 while (stack >= 0 && stack < this.nodeCount) {
231 let nodeIndex = stackNodes[stack];
236 let edgeIndex = stackCurrentEdge[stack];
239 stackCurrentEdge[stack] += 1;
253 ++stack;
254 stackNodes[stack] = childNode.nodeIndex;
255 stackCurrentEdge[stack] = childNode.firstEdgeIndex;
260 --stack;
270 stack = 0;
[all …]
/developtools/smartperf_host/ide/src/js-heap/logic/
DHeapLoader.ts223 let stack = 0; variable
230 while (stack >= 0 && stack < this.nodeCount) {
231 let nodeIndex = stackNodes[stack];
236 let edgeIndex = stackCurrentEdge[stack];
239 stackCurrentEdge[stack] += 1;
253 ++stack;
254 stackNodes[stack] = childNode.nodeIndex;
255 stackCurrentEdge[stack] = childNode.firstEdgeIndex;
260 --stack;
270 stack = 0;
[all …]
/developtools/smartperf_host/ide/test/trace/database/logic-worker/
DProcedureLogicWorkerNativeNemory.test.ts148 let stack = { variable
160 expect(procedureLogicWorkerNativeMemory.traverseTree(stack, 1)).toBeUndefined();
164 let stack = { variable
176 expect(procedureLogicWorkerNativeMemory.traverseSampleTree(stack, 1)).toBeUndefined();
DProcedureLogicWorkerFileSystem.test.ts125 let stack = new Stack(); variable
126 stack = {
131 expect(stack).not.toBeUndefined();
/developtools/profiler/device/plugins/memory_plugin/test/unittest/
Dmemory_data_plugin_unittest.cpp56 uint64_t stack; member
355 EXPECT_EQ(singlepid.stack, app.stack());
421 EXPECT_EQ(g_pidtarget[i].stack, (uint64_t)(smap.GetProcessStack()));
466 EXPECT_EQ((uint64_t)0, app.stack());
651 uint64_t stack = 60; variable
661 EXPECT_EQ(memoryInfo.mutable_memsummary()->stack(), stack);
/developtools/profiler/device/plugins/ftrace_plugin/tools/
Dftrace_format_parser.py30 stack = [top_dir]
31 while len(stack) > 0:
32 current = stack.pop()
40 stack.append(path) # continue to do depth first search.
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/
DTabPaneSummary.ts51 private stack: HTMLLIElement | null | undefined; property in TabPaneSummary
64 this.stack = this.shadowRoot?.querySelector('#stack') as HTMLLIElement;
137 if (this.stack!.className == 'active') {
347 this.stack!.style.display = 'flex';
350 this.stack!.style.display = 'none';
590 this.stack!.classList.remove('active');
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/snapshot/
DTabPaneSummary.ts52 private stack: HTMLLIElement | null | undefined; property in TabPaneSummary
63 this.stack = this.shadowRoot?.querySelector('#stack') as HTMLLIElement;
135 if (this.stack!.className == 'active') {
344 this.stack!.style.display = 'flex';
347 this.stack!.style.display = 'none';
637 this.stack!.classList.remove('active');
/developtools/hiperf/test/unittest/common/native/
Dcallstack_test.cpp489 std::vector<CallFrame> stack = {{rnd_(), rnd_()}}; variable
490 callStack.ExpandCallStack(0, stack);
493 std::vector<CallFrame> stack = {{rnd_(), rnd_()}}; variable
494 callStack.ExpandCallStack(0, stack);
/developtools/hiperf/
DREADME_zh.md152 --stack <level>
153 setup stack level, default is 5
157 will run some code in each stack level
/developtools/profiler/protos/types/plugins/agent_data/
Dagent_plugin_java_heap.proto40 // First element means stack top.
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/agent_data/
Dagent_plugin_java_heap.proto40 // First element means stack top.

123