Home
last modified time | relevance | path

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

12

/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/
DTabPerfSampleList.ts107 for (let stack of result) {
108 if (typeof stack.symbol === 'number') {
109 stack.symbol = SpSystemTrace.DATA_DICT.get(stack.symbol) || '';
111 let files = (perfDataQuery.filesData[stack.fileId] ?? []) as Array<PerfFile>;
112 stack.path = files[stack.symbolId]?.path || '';
113stack.type = stack.path.endsWith('.so.1') || stack.path.endsWith('.dll') || stack.path.endsWith('.…
/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/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/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerNativeNemory.ts483 traverseSampleTree(stack: NativeHookCallInfo, hook: NativeHookStatistics): void {
484 stack.count += 1;
485 stack.countValue = `${stack.count}`;
486 stack.countPercent = `${((stack.count / this.selectTotalCount) * 100).toFixed(1)}%`;
487 stack.size += hook.heapSize;
488 stack.tid = hook.tid;
489 stack.threadName = hook.threadName;
490 stack.heapSizeStr = `${getByteWithUnit(stack.size)}`;
491 stack.heapPercent = `${((stack.size / this.selectTotalSize) * 100).toFixed(1)}%`;
492 stack.countArray.push(...(hook.countArray || hook.count));
[all …]
DProcedureLogicWorkerFileSystem.ts478 let stack = stacks[0];
480 stack.symbolsId === null ? stack.ip : this.dataCache.dataDict?.get(stack.symbolsId) ?? '',
518 let stack = stacks[0];
520 …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/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/src/trace/database/data-trafic/hiperf/
DHiperfCallChartReceiver.ts394 for (const stack of res) { constant
395 let item = stack;
398 callchainId: stack.hiperfCallStackData.callchainId || 0,
399 fileId: stack.hiperfCallStackData.fileId || 0,
400 depth: stack.hiperfCallStackData.depth || 0,
401 symbolId: stack.hiperfCallStackData.symbolId || 0,
402 name: stack.hiperfCallStackData.name || 0,
/developtools/smartperf_host/ide/src/trace/database/data-trafic/
DArkTsReceiver.ts150 sample.stack = getFullCallChainOfNode(stackTopSymbol);
156 … if (isSymbolEqual(sample.stack[0], lastCallChart) && lastCallChart.endTime === sample.startTime) {
191 for (const [idx, symbol] of sample.stack!.entries()) {
202 if (idx + 1 === sample.stack?.length) {
244 for (const [idx, symbol] of sample.stack!.entries()) {
246 const isLastSymbol = idx + 1 === sample.stack?.length;
/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/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.ts52 private stack: HTMLLIElement | null | undefined; property in TabPaneSummary
65 this.stack = this.shadowRoot?.querySelector('#stack') as HTMLLIElement;
126 this.stack!.style.display = 'flex';
129 this.stack!.style.display = 'none';
384 this.stack!.classList.remove('active');
647 if (this.stack!.className === 'active') {
/developtools/smartperf_host/ide/test/trace/database/logic-worker/
DProcedureLogicWorkerNativeNemory.test.ts140 let stack = { variable
154 traverseTree(stack, {countArray: [],startTs: 23, tsArray: [],count: 0})).toBeUndefined();
158 let stack = { variable
171 …expect(procedureLogicWorkerNativeMemory.traverseSampleTree(stack, {countArray: [],startTs: 23, tsA…
DProcedureLogicWorkerFileSystem.test.ts124 let stack = new Stack(); variable
125 stack = {
130 expect(stack).not.toBeUndefined();
/developtools/hiperf/
DREADME_zh.md152 --stack <level>
153 setup stack level, default is 5
157 will run some code in each stack level
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/agent_data/
Dagent_plugin_java_heap.proto40 // First element means stack top.
/developtools/profiler/protos/types/plugins/agent_data/
Dagent_plugin_java_heap.proto40 // First element means stack top.
/developtools/profiler/device/plugins/memory_plugin/test/unittest/
Dmemory_data_plugin_unittest.cpp58 uint64_t stack; member
643 EXPECT_EQ(singlepid.stack, app.stack());
711 EXPECT_EQ(g_pidtarget[i].stack, (uint64_t)(smap.GetProcessStack()));
756 EXPECT_EQ((uint64_t)0, app.stack());
941 uint64_t stack = 60; variable
951 EXPECT_EQ(memoryInfo.mutable_memsummary()->stack(), stack);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/renderer/
DLegendRenderer.ets393 var stack : number = 0;
429 posX += stack;
431 posX -= formSize - stack;
459 stack = 0;
461 stack += formSize + stackSpace;
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/memory_data/
Dmemory_plugin_config.proto35 …// set true to report application memory usage summary, eg:java heap memory, native heap, stack me…
/developtools/smartperf_host/ide/src/trace/component/chart/
DFrameChart.ts596 const stack: ChartStruct[] = [node]; // 使用栈来实现循环处理 constant
597 while (stack.length > 0) {
598 const currentNode = stack.pop();
602 stack.push(child);
/developtools/smartperf_host/ide/src/doc/md/
Dquickstart_Js_memory.md17 - record stack traces of allocations(extra performance overhead):录制各项分配的堆栈轨迹(会产生额外的性能开销)。
/developtools/profiler/protos/types/plugins/memory_data/
Dmemory_plugin_config.proto35 …// set true to report application memory usage summary, eg:java heap memory, native heap, stack me…
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/
DIMarker.ets47 * selected range or stack-index (only stacked bar entries).

12