/developtools/profiler/host/smartperf/client/client_command/ |
D | parse_click_response_trace.cpp | 43 std::string startTime = "0"; in GetLineTime() local 50 startTime = SmartPerf::ParseClickResponseTrace::GetStartTime(line, startTime); in GetLineTime() 56 if (std::stof(startTime) == 0) { in GetLineTime() 62 completeTime = SmartPerf::ParseClickResponseTrace::GetTime(startTime, endTime); in GetLineTime() 65 double ParseClickResponseTrace::GetTime(std::string startTime, std::string endTime) in GetTime() argument 70 startTime = startTime.substr(point - subNum); in GetTime() 71 if (std::stof(endTime) == 0 || std::stof(startTime) == 0) { in GetTime() 74 completeTime = std::stof(endTime) - std::stof(startTime) + displayTime; in GetTime() 113 std::string startTime; in GetStartTime() local 125 startTime = line.substr(position1 + subNum, position2 - position1 - subNum); in GetStartTime() [all …]
|
D | parse_click_complete_trace.cpp | 47 startTime = SmartPerf::ParseClickCompleteTrace::GetStartTime(line, startTime); in GetLineTime() 56 int startNum = std::stof(startTime); in GetLineTime() 80 startTime = startTime.substr(point - subNum); in GetTime() 81 if (std::stof(endTime) == 0 || std::stof(startTime) == 0) { in GetTime() 84 completeTime = std::stof(endTime) - std::stof(startTime) + displayTime; in GetTime() 133 startTime = line.substr(position1 + subNum, position2 - position1 - subNum); in GetStartTime() 137 startTime = startTimeBefore; in GetStartTime() 140 startTime = startTimeBefore; in GetStartTime() 142 return startTime; in GetStartTime()
|
D | parse_trace.cpp | 48 startTime = SmartPerf::ParseTrace::GetStartTime(line, startTime); in ParseNohTrace() 69 codeTime = SmartPerf::ParseTrace::GetTime(startTime, endTime); in ParseNohTrace() 149 startTime = SmartPerf::ParseTrace::GetStartTime(line, startTime); in ParseCodeTrace() 159 int startNum = std::stof(startTime); in ParseCodeTrace() 175 codeTime = SmartPerf::ParseTrace::GetTime(startTime, endTime); in ParseCodeTrace() 184 startTime=SmartPerf::ParseTrace::GetStartTime(line, startTime); in ParseHotTrace() 193 int startNum = std::stof(startTime); in ParseHotTrace() 209 codeTime = SmartPerf::ParseTrace::GetTime(startTime, endTime); in ParseHotTrace() 236 startTime = line.substr(position1 + subNum, position2 - position1 - subNum); in GetStartTime() 240 startTime = startTimeBefore; in GetStartTime() [all …]
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
D | NativeMemoryDataReceiver.ts | 25 startTime: number; property 89 …st[cache.dataList.length - 1].dur = totalNS - cache.dataList[cache.dataList.length - 1].startTime!; 95 startTime: ne.startTime, 124 last.dur = item.startTime! - last.startTime!; 158 data.startTime = hook.startTs; 173 data.startTime = hook.startTs; 195 startTime: number; 209 source[i].dur = totalNS - source[i].startTime; 213 source[i].dur = source[i + 1].startTime - source[i].startTime; 291 startTime: item.nativeMemoryNormal.startTime || 0, [all …]
|
D | CpuDataReceiver.ts | 61 list[i].dur = data.params.endNS - list[i].startTime; 63 list[i].dur = list[i + 1].startTime - list[i].startTime; 89 res.sort((dataA, dataB) => dataA.startTime - dataB.startTime); 94 …let startTime = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.startTime); 104 startTime[i] = it.startTime; 119 startTime: startTime.buffer, 131 …transfer ? [startTime.buffer, dur.buffer, tid.buffer, id.buffer, processId.buffer, cpu.buffer, arg…
|
D | VirtualMemoryDataReceiver.ts | 62 …let startTime = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.startTime); 67 startTime[i] = it.startTime; 77 startTime: startTime.buffer, 85 transfer ? [startTime.buffer, value.buffer, filterID.buffer] : []
|
D | CpuDataSender.ts | 29 startTime: new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * MAX_COUNT), 65 let startTime = new Float64Array(res.startTime); 80 startTime: startTime[i], 90 let startTime = new Float64Array(res.startTime); 104 startTime: startTime[i],
|
D | ArkTsReceiver.ts | 37 startTime: Array<number>; constant 52 startTime: [], 156 … if (isSymbolEqual(sample.stack[0], lastCallChart) && lastCallChart.endTime === sample.startTime) { 218 sample.startTime, 251 lastCallTreeSymbol.endTime === sample.startTime 255 lastCallTreeSymbol.totalTime = sample.endTime - lastCallTreeSymbol.startTime; 286 jsDataCache.startTime.push(item.startTime); 314 let len = dataFilter!.startTime!.length; 326 arkTs.startTime[i] = dataFilter.startTime[i]; 354 startTime: arkTs.startTime.buffer, [all …]
|
D | VirtualMemoryDataSender.ts | 29 startTime: new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * MAX_COUNT), 56 let startTime = new Float64Array(buffers.startTime); 62 startTime: startTime[i],
|
/developtools/hiperf/test/unittest/common/native/ |
D | subcommand_report_test.cpp | 192 const auto startTime = chrono::steady_clock::now(); variable 195 chrono::steady_clock::now() - startTime); 215 const auto startTime = chrono::steady_clock::now(); variable 218 chrono::steady_clock::now() - startTime); 239 const auto startTime = chrono::steady_clock::now(); variable 242 chrono::steady_clock::now() - startTime); 262 const auto startTime = chrono::steady_clock::now(); variable 267 chrono::steady_clock::now() - startTime); 288 const auto startTime = chrono::steady_clock::now(); variable 294 chrono::steady_clock::now() - startTime); [all …]
|
D | subcommand_stat_test.cpp | 231 const auto startTime = chrono::steady_clock::now(); variable 234 chrono::steady_clock::now() - startTime); 257 const auto startTime = chrono::steady_clock::now(); variable 260 chrono::steady_clock::now() - startTime); 284 const auto startTime = chrono::steady_clock::now(); variable 287 chrono::steady_clock::now() - startTime); 310 const auto startTime = chrono::steady_clock::now(); variable 313 chrono::steady_clock::now() - startTime); 336 const auto startTime = chrono::steady_clock::now(); variable 339 chrono::steady_clock::now() - startTime); [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ |
D | TabPaneCurrent.ts | 71 if (evt.detail.data.startTime === undefined) { 80 if (data.startTime === slicesTime.startTime && data.endTime === slicesTime.endTime) { 115 (it) => it.startTime === slicesTime.startTime && it.endTime === slicesTime.endTime 123 item.startTime === this.slicesTime!.startTime && 141 return a.startTime - b.startTime; 154 getTimeString(slice.startTime), 155 slice.startTime, 173 … if (data.startTime === this.slicesTime?.startTime && data.endTime === this.slicesTime?.endTime) { 203 this.tableDataSource[i].startTime === this.slicesTimeList[i - 1].startTime && 225 this.tableDataSource[i].startTime === this.slicesTimeList[i - 1].startTime && [all …]
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/ |
D | ProcedureWorkerHiPerfCallChart.ts | 51 re.endTime - re.startTime === 0 || 52 re.endTime - re.startTime == null || 53 re.endTime - re.startTime === undefined 87 startTime: number = 0; property in HiPerfCallChartStruct 101 if ((hiPerfNode.startTime || 0) > startNS && (hiPerfNode.startTime || 0) < endNS) { 102 x1 = ns2x(hiPerfNode.startTime || 0, startNS, endNS, totalNS, frame); 107 (hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0) > startNS && 108 (hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0) < endNS 110 …x2 = ns2x((hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0), startNS, endNS, totalNS, fram… 126 if (data.endTime - data.startTime === undefined || data.endTime - data.startTime === null) { [all …]
|
/developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
D | ProcedureWorkerHiPerfReport.test.ts | 38 startTime: 50, 42 dataList.push({ startTime: 51, dur: 511 }); 45 startTime: 50, 49 dataList2.push({ startTime: 61, dur: 691 }); 63 startTime: 1, 68 startTime: 31, 75 startTime: 3, 79 dataList2.push({ startTime: 21, dur: 133 }); 92 startTime: 5, 97 startTime: 12, [all …]
|
D | ProcedureWorkerProcess.test.ts | 47 startTime: 0, 51 dataList.push({ startTime: 1, dur: 111 }); 59 startTime: 450, 64 startTime: 1, 82 startTime: 0, 104 startTime: 2,
|
/developtools/smartperf_host/trace_streamer/src/filter/ |
D | app_start_filter.cpp | 51 auto startTime = sliceData.TimeStampData()[frameSliceData->CallStackIds()[m]]; in CaclRsDataByPid() local 53 auto endTime = startTime + frameSliceData->Durs()[m]; in CaclRsDataByPid() 60 … startTime, endTime)); in CaclRsDataByPid() 66 startTime = frameSliceData->TimeStampData()[dstId]; in CaclRsDataByPid() 67 endTime = startTime + frameSliceData->Durs()[dstId]; in CaclRsDataByPid() 71 … startTime, endTime)); in CaclRsDataByPid() 151 auto startTime = sliceData.TimeStampData()[row]; in UpdateAPPStartupData() local 153 …air(startIndex, std::make_unique<APPStartupData>(callId, INVALID_UINT32, INVALID_UINT32, startTime, in UpdateAPPStartupData() 165 auto startTime = sliceData.TimeStampData()[i]; in ParserAppStartup() local 168 …std::make_unique<APPStartupData>(callId, INVALID_UINT32, INVALID_UINT32, startTime, INVALID_UINT64… in ParserAppStartup() [all …]
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/process/ |
D | ProcessMemDataReceiver.ts | 43 …let startTime = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.startTime); 50 startTime[i] = it.startTime; 61 startTime: startTime.buffer, 69 transfer ? [ts.buffer, startTime.buffer, value.buffer, track_id.buffer] : []
|
D | ProcessDataReceiver.ts | 69 …let startTime = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.startTime); 74 startTime[i] = it.startTime; 84 startTime: startTime.buffer, 92 transfer ? [startTime.buffer, dur.buffer, cpu.buffer] : []
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
D | ProcedureWorkerProcess.ts | 75 if ((it.startTime || 0) + (it.dur || 0) > startNS && (it.startTime || 0) < endNS) { 99 startTime: number | undefined; property in ProcessStruct 114 if ((processNode.startTime || 0) < startNS) { 117 processNode.frame.x = Math.floor(((processNode.startTime || 0) - startNS) / pns); 119 if ((processNode.startTime || 0) + (processNode.dur || 0) > endNS) { 123 … ((processNode.startTime || 0) + (processNode.dur || 0) - startNS) / pns - processNode.frame.x 141 if ((processNode.startTime || 0) < startNS) { 144 x1 = ns2x(processNode.startTime || 0, startNS, endNS, totalNS, frame); 146 if ((processNode.startTime || 0) + (processNode.dur || 0) > endNS) { 149 … x2 = ns2x((processNode.startTime || 0) + (processNode.dur || 0), startNS, endNS, totalNS, frame);
|
D | ProcedureWorkerCpuProfiler.ts | 68 re.endTime - re.startTime === 0 || 69 re.endTime - re.startTime == null || 70 re.endTime - re.startTime === undefined 100 …if ((filter[i].startTime || 0) + (filter[i].totalTime || 0) >= startNS && (filter[i].startTime || … 200 startTime: number = 0; 218 … if ((jsCpuProfilerNode.startTime || 0) > startNS && (jsCpuProfilerNode.startTime || 0) < endNS) { 219 x1 = ns2x(jsCpuProfilerNode.startTime || 0, startNS, endNS, totalNS, frame); 224 (jsCpuProfilerNode.startTime || 0) + (jsCpuProfilerNode.totalTime || 0) > startNS && 225 (jsCpuProfilerNode.startTime || 0) + (jsCpuProfilerNode.totalTime || 0) < endNS 228 (jsCpuProfilerNode.startTime || 0) + (jsCpuProfilerNode.totalTime || 0), [all …]
|
/developtools/smartperf_host/ide/src/trace/bean/ |
D | MarkStruct.ts | 18 startTime: number | undefined; property in MarkStruct 29 startTime?: number, 37 this.startTime = startTime;
|
D | PerfStruct.ts | 38 startTime: number; property in HiPerfChartFrame 49 startTime: number, 57 this.startTime = startTime;
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/ |
D | TabPaneMemoryAbility.ts | 110 let startTime = res[0].start_ts; variable 111 getTabMemoryAbilityData(val.leftNs + startTime, val.rightNs + startTime).then((items) => { 119 systemMemorySummary.startTimeStr = (item.startTime - startTime <= 0) ? '0:000.000.000' 120 : Utils.getTimeStampHMS(item.startTime - startTime); 121 systemMemorySummary.durationNumber = (lastTime !== 0) ? item.startTime - lastTime : 0; 123 lastTime = item.startTime;
|
/developtools/smartperf_host/ide/src/trace/component/ |
D | Utils.ts | 27 let startTime = 0; 29 if (data.startTime < TraceRow.rangeSelectObject?.startNS) { 30 startTime = TraceRow.rangeSelectObject?.startNS; 32 startTime = data.startTime; 39 data.totalTime = endTime - startTime;
|
/developtools/smartperf_host/ide/src/trace/component/chart/ |
D | VSync.ts | 18 startTime: number; property 76 it.dur = array[index + 1].startTime - it.startTime; 78 it.dur = window.totalNS - it.startTime; 93 let x = ns2x(it.startTime, width); 94 let x2 = ns2x(it.startTime + it.dur, width);
|