Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 141) sorted by relevance

123456

/developtools/profiler/device/plugins/native_hook/test/
Dhook_so.cpp27 char *DepthMallocSo(int depth, int mallocSize) in DepthMallocSo() argument
33 if (depth == 0) { in DepthMallocSo()
37 return (DepthMallocSo(depth - 1, mallocSize)); in DepthMallocSo()
40 void DepthFreeSo(int depth, char *p) in DepthFreeSo() argument
43 if (depth == 0) { in DepthFreeSo()
48 return (DepthFreeSo(depth - 1, p)); in DepthFreeSo()
Dhook_test.cpp29 typedef char* (*DepthMallocSo)(int depth, int mallocSize);
30 typedef void (*DepthFreeSo)(int depth, char *p);
75 char *DepthMalloc(int depth, int mallocSize) in DepthMalloc() argument
81 if (depth == 0) { in DepthMalloc()
85 return (DepthMalloc(depth - 1, mallocSize)); in DepthMalloc()
88 void DepthFree(int depth, char *p) in DepthFree() argument
91 if (depth == 0) { in DepthFree()
96 return (DepthFree(depth - 1, p)); in DepthFree()
Dmalloc_test.cpp59 static char* DepthMalloc(int depth, int mallocSize) in DepthMalloc() argument
65 if (depth == 0) { in DepthMalloc()
69 return (DepthMalloc(depth - 1, mallocSize)); in DepthMalloc()
72 static char* DepthCalloc(int depth, int callocSize) in DepthCalloc() argument
75 if (depth == 0) { in DepthCalloc()
79 return (DepthCalloc(depth - 1, callocSize)); in DepthCalloc()
82 static char* DepthRealloc(int depth, void* p, int reallocSize) in DepthRealloc() argument
85 if (depth == 0) { in DepthRealloc()
89 return (DepthRealloc(depth - 1, p, reallocSize)); in DepthRealloc()
92 static void DepthFree(int depth, void* p) in DepthFree() argument
[all …]
Dhook_test.c61 char* DepthMalloc(int depth, int mallocSize) in DepthMalloc() argument
67 if (depth == 0) { in DepthMalloc()
71 return (DepthMalloc(depth - 1, mallocSize)); in DepthMalloc()
74 char* DepthCalloc(int depth, int callocSize) in DepthCalloc() argument
77 if (depth == 0) { in DepthCalloc()
81 return (DepthCalloc(depth - 1, callocSize)); in DepthCalloc()
84 char* DepthRealloc(int depth, void* p, int reallocSize) in DepthRealloc() argument
87 if (depth == 0) { in DepthRealloc()
91 return (DepthRealloc(depth - 1, p, reallocSize)); in DepthRealloc()
94 void DepthFree(int depth, void* p) in DepthFree() argument
[all …]
Dhook_so.h28 char *DepthMallocSo(int depth, int mallocSize);
29 void DepthFreeSo(int depth, char *p);
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/task/
DTabPaneTaskFrames.test.ts106 depth: 3,
124 depth: 1,
142 depth: 1,
160 depth: 3,
178 depth: 3,
196 depth: 3,
214 depth: 1,
232 depth: 1,
250 depth: 1,
268 depth: 1,
[all …]
/developtools/smartperf_host/ide/src/trace/bean/
DJsStruct.ts20 depth: number; property in JsCpuProfilerUIStruct
33 depth: number,
43 this.depth = depth;
71 depth: number,
76 super(id, name, depth, 0, totalTime, url, line, column);
102 depth: number,
108 super(id, name, depth, selfTime, totalTime, url, line, column);
DPerfProfile.ts45 depth: number = 0; property in PerfCall
69 depth: number = 0; property in PerfCallChain
111 depth: number = 0; property in PerfSample
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dcheck_hook_data_test.cpp58 typedef char* (*DepthMallocSo)(int depth, int mallocSize);
59 typedef void (*DepthFreeSo)(int depth, char *p);
184 void DepthFree(int depth, void *p) in DepthFree() argument
187 if (depth == 0) { in DepthFree()
192 return (DepthFree(depth - 1, p)); in DepthFree()
195 char *DepthMalloc(int depth) in DepthMalloc() argument
198 if (depth == 0) { in DepthMalloc()
202 return (DepthMalloc(depth - 1)); in DepthMalloc()
205 void ApplyForMalloc(int depth) in ApplyForMalloc() argument
207 char *p = DepthMalloc(depth); in ApplyForMalloc()
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/jank/
DTabPaneFrames.test.ts40 depth: 1,
60 depth: 1,
74 depth: 1,
93 depth: 1,
107 depth: 1,
126 depth: 1,
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerSoInit.test.ts43 depth: 5,
56 depth: 21,
78 depth: 6,
103 depth: 35,
120 depth: 10,
DProcedureWorkerJank.test.ts38 depth: 1,
71 depth: 6,
219 depth: 0,
245 depth: 13,
271 depth: 30,
299 depth: 10,
325 depth: 17,
351 depth: 0,
DProcedureWorkerCpuProfiler.test.ts49 depth: 1,
65 depth: 21,
107 depth: 1,
/developtools/profiler/host/smartperf/trace_streamer/src/filter/
Dapp_start_filter.cpp38 auto depth = sliceData.Depths()[row]; in GetProcessCreate() local
40 while (depth--) { in GetProcessCreate()
208 uint32_t& depth, in CalcDepthByTimeStamp() argument
215 depth = it->second.size(); in CalcDepthByTimeStamp()
218 depth = itor->second; in CalcDepthByTimeStamp()
220 if (itorSecond->first < startTime && depth > itorSecond->second) { in CalcDepthByTimeStamp()
221 depth = itorSecond->second; in CalcDepthByTimeStamp()
226 it->second.insert(std::make_pair(endTime, depth)); in CalcDepthByTimeStamp()
244 uint32_t depth = 0; in ParserSoInitalization() local
252 … sliceData.NamesData()[i], depth); in ParserSoInitalization()
[all …]
Dslice_filter.cpp165 uint32_t depth, in RememberSliceData() argument
170 slice.depth = depth; in RememberSliceData()
175 slice.depth = depth; in RememberSliceData()
200 uint8_t SliceFilter::UpdateDepth(bool increase, InternalTid internalTid, int32_t depth) in UpdateDepth() argument
233 if (depthMap.find(depth) == depthMap.end()) { in UpdateDepth()
236 depthMap.at(depth) = false; in UpdateDepth()
238 return depth; in UpdateDepth()
312 uint32_t depth = stack.size(); in StartSlice() local
314 uint32_t parentId = depth == 0 ? INVALID_UINT32 : slices->IdsData()[stack.back().index]; in StartSlice()
318 if (depth >= std::numeric_limits<uint8_t>::max()) { in StartSlice()
[all …]
/developtools/smartperf_host/ide/test/trace/bean/
DPerfProfile.test.ts110 depth: 0,
134 depth: expect.any(Number) }, `
222 depth: 0,
240 depth: expect.any(Number),
289 depth: 0,
296 depth: expect.any(Number),
DJsStruct.test.ts32 depth: 0,
61 depth: 0,
100 depth: 0,
/developtools/smartperf_host/trace_streamer/src/filter/
Dapp_start_filter.cpp41 auto depth = sliceData.Depths()[row]; in GetProcessCreate() local
43 while (depth--) { in GetProcessCreate()
234 uint32_t& depth, in CalcDepthByTimeStamp() argument
241 depth = it->second.size(); in CalcDepthByTimeStamp()
244 depth = itor->second; in CalcDepthByTimeStamp()
246 if (itorSecond->first < startTime && depth > itorSecond->second) { in CalcDepthByTimeStamp()
247 depth = itorSecond->second; in CalcDepthByTimeStamp()
252 it->second.insert(std::make_pair(endTime, depth)); in CalcDepthByTimeStamp()
270 uint32_t depth = 0; in ParserSoInitalization() local
278 … sliceData.NamesData()[i], depth); in ParserSoInitalization()
[all …]
Dslice_filter.cpp165 uint32_t depth, in RememberSliceData() argument
170 slice.depth = depth; in RememberSliceData()
175 slice.depth = depth; in RememberSliceData()
200 uint8_t SliceFilter::UpdateDepth(bool increase, InternalTid internalTid, int32_t depth) in UpdateDepth() argument
233 if (depthMap.find(depth) == depthMap.end()) { in UpdateDepth()
236 depthMap.at(depth) = false; in UpdateDepth()
238 return depth; in UpdateDepth()
312 uint32_t depth = stack.size(); in StartSlice() local
314 uint32_t parentId = depth == 0 ? INVALID_UINT32 : slices->IdsData()[stack.back().index]; in StartSlice()
318 if (depth >= std::numeric_limits<uint8_t>::max()) { in StartSlice()
[all …]
/developtools/smartperf_host/trace_streamer/test/unittest/
Danimation_filter_test.cpp93 uint8_t depth = 1; variable
97 callStackNames[i], depth, parentId);
101 depth++;
110 depth = i + 1;
112 … INVALID_UINT16, callStackNames[i], depth, parentId);
237 uint8_t depth = 1; variable
246 depth = i + 1;
248 callStackNames[i], depth, parentId);
271 uint8_t depth = 1; variable
278 … INVALID_UINT16, callStackName, depth, parentId);
/developtools/smartperf_host/ide/test/trace/component/chart/
DSpFrameTimeChart.test.ts62 depth: 1,
66 depth: 1,
75 depth: 1,
79 depth: 1,
/developtools/profiler/host/smartperf/ide/src/trace/bean/
DPerfProfile.ts45 depth: number = 0; property in PerfCall
69 depth: number = 0; property in PerfCallChain
111 depth: number = 0; property in PerfSample
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerFunc.ts108 …(pre[`${current.frame.x}-${current.depth}`] = pre[`${current.frame.x}-${current.depth}`] || []).pu…
144 funcNode.frame.y = funcNode.depth * 20;
181 … FuncStruct.drawTaskPoolUnSuccessFlag(ctx, data.frame!.x, (data.depth! + 0.5) * 20, 3, data!);
183 … FuncStruct.drawTaskPoolUnSuccessFlag(ctx, data.frame!.x, (data.depth! + 0.5) * 20, 6, data!);
187 … FuncStruct.drawTaskPoolTimeOutFlag(ctx, data.frame!.x, (data.depth! + 0.5) * 20, 10, data!);
235 FuncStruct.selectFuncStruct.depth == data.depth
/developtools/smartperf_host/ide/src/base-ui/utils/
DCSVFormater.ts134 static treeDepth(depth: number) {
136 for (let i = 0; i < depth; i++) {
146 const loop = (data: any, depth: any) => {
147 result.push({depthCSV: depth, ...data});
151 loop(child[i], depth + 1);
/developtools/profiler/host/smartperf/ide/src/base-ui/utils/
DCSVFormater.ts140 static treeDepth(depth: number) {
142 for (let i = 0; i < depth; i++) {
152 const loop = (data: any, depth: any) => {
153 result.push({ depthCSV: depth, ...data });
157 loop(child[i], depth + 1);

123456