Home
last modified time | relevance | path

Searched refs:startTime (Results 1 – 25 of 231) sorted by relevance

12345678910

/developtools/profiler/host/smartperf/client/client_command/
Dparse_click_response_trace.cpp50 std::string startTime = "0"; in GetLineTime() local
57 startTime = SmartPerf::ParseClickResponseTrace::GetStartTime(line, startTime); in GetLineTime()
63 if (std::stof(startTime) == 0) { in GetLineTime()
69 completeTime = SmartPerf::ParseClickResponseTrace::GetTime(startTime, endTime); in GetLineTime()
72 double ParseClickResponseTrace::GetTime(std::string startTime, std::string endTime) in GetTime() argument
77 startTime = startTime.substr(point - subNum); in GetTime()
78 if (std::stof(endTime) == 0 || std::stof(startTime) == 0) { in GetTime()
81 completeTime = std::stof(endTime) - std::stof(startTime) + displayTime; in GetTime()
120 std::string startTime; in GetStartTime() local
132 startTime = line.substr(position1 + subNum, position2 - position1 - subNum); in GetStartTime()
[all …]
Dparse_click_complete_trace.cpp54 startTime = SmartPerf::ParseClickCompleteTrace::GetStartTime(line, startTime); in GetLineTime()
63 int startNum = std::stof(startTime); in GetLineTime()
87 startTime = startTime.substr(point - subNum); in GetTime()
88 if (std::stof(endTime) == 0 || std::stof(startTime) == 0) { in GetTime()
91 completeTime = std::stof(endTime) - std::stof(startTime) + displayTime; in GetTime()
140 startTime = line.substr(position1 + subNum, position2 - position1 - subNum); in GetStartTime()
144 startTime = startTimeBefore; in GetStartTime()
147 startTime = startTimeBefore; in GetStartTime()
149 return startTime; in GetStartTime()
Dparse_trace.cpp55 startTime = SmartPerf::ParseTrace::GetStartTime(line, startTime); in ParseNohTrace()
76 codeTime = SmartPerf::ParseTrace::GetTime(startTime, endTime); in ParseNohTrace()
172 startTime = SmartPerf::ParseTrace::GetStartTime(line, startTime); in ParseCodeTrace()
182 int startNum = std::stof(startTime); in ParseCodeTrace()
198 codeTime = SmartPerf::ParseTrace::GetTime(startTime, endTime); in ParseCodeTrace()
207 startTime = SmartPerf::ParseTrace::GetStartTime(line, startTime); in ParseHotTrace()
216 int startNum = std::stof(startTime); in ParseHotTrace()
232 codeTime = SmartPerf::ParseTrace::GetTime(startTime, endTime); in ParseHotTrace()
259 startTime = line.substr(position1 + subNum, position2 - position1 - subNum); in GetStartTime()
263 startTime = startTimeBefore; in GetStartTime()
[all …]
/developtools/smartperf_host/ide/src/trace/database/data-trafic/
DNativeMemoryDataReceiver.ts25 startTime: number; property
91 …st[cache.dataList.length - 1].dur = totalNS - cache.dataList[cache.dataList.length - 1].startTime!;
98 startTime: ne.startTime,
131 last.dur = item.startTime! - last.startTime!;
181 data.startTime = hook.startTs;
204 data.startTime = hook.startTs;
237 startTime: number;
251 source[i].dur = totalNS - source[i].startTime;
255 source[i].dur = source[i + 1].startTime - source[i].startTime;
343 startTime: item.nativeMemoryNormal.startTime || 0,
[all …]
DCpuDataReceiver.ts69 list[i].dur = data.params.endNS - list[i].startTime;
72 list[i].dur = list[i + 1].startTime - list[i].startTime;
110 res.sort((dataA, dataB) => dataA.startTime - dataB.startTime);
116 …let startTime = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.startTime);
135 startTime[i] = it.startTime;
159 startTime: startTime.buffer,
174 startTime.buffer,
DVirtualMemoryDataReceiver.ts68 …let startTime = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.startTime)…
74 startTime[i] = it.startTime; // @ts-ignore
85 startTime: startTime.buffer,
93 transfer ? [startTime.buffer, value.buffer, filterID.buffer] : []
DCpuDataSender.ts29 startTime: new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * MAX_COUNT),
74 let startTime = new Float64Array(res.startTime);
96 startTime: startTime[i],
107 let startTime = new Float64Array(res.startTime);
129 startTime: startTime[i],
DLostFrameReceiver.ts36 …let startTime = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.startTime);
44 startTime[i] = it.ts;
56 startTime: startTime.buffer,
65 transfer ? [startTime.buffer, dur.buffer, argSetId.buffer] : []
/developtools/hiperf/test/unittest/common/native/
Dsubcommand_report_test.cpp194 const auto startTime = chrono::steady_clock::now(); variable
197 chrono::steady_clock::now() - startTime);
217 const auto startTime = chrono::steady_clock::now(); variable
220 chrono::steady_clock::now() - startTime);
241 const auto startTime = chrono::steady_clock::now(); variable
244 chrono::steady_clock::now() - startTime);
264 const auto startTime = chrono::steady_clock::now(); variable
269 chrono::steady_clock::now() - startTime);
290 const auto startTime = chrono::steady_clock::now(); variable
296 chrono::steady_clock::now() - startTime);
[all …]
Dsubcommand_stat_test.cpp231 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/
DTabPaneCurrent.ts77 if (evt.detail.data.startTime === undefined) {
86 if (data.startTime === slicesTime.startTime && data.endTime === slicesTime.endTime) {
122 (it) => it.startTime === slicesTime.startTime && it.endTime === slicesTime.endTime
130 item.startTime === this.slicesTime!.startTime &&
148 return a.startTime - b.startTime;
161 getTimeString(slice.startTime),
162 slice.startTime,
181 … if (data.startTime === this.slicesTime?.startTime && data.endTime === this.slicesTime?.endTime) {
210 this.tableDataSource[i].startTime === this.slicesTimeList[i - 1].startTime &&
238 this.tableDataSource[i].startTime === this.slicesTimeList[i - 1].startTime &&
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/
DProcedureWorkerHiPerfCallChart.ts55 re.endTime - re.startTime === 0 ||
56 re.endTime - re.startTime == null ||
57 re.endTime - re.startTime === undefined
91 startTime: number = 0; property in HiPerfCallChartStruct
111 if ((hiPerfNode.startTime || 0) > startNS && (hiPerfNode.startTime || 0) < endNS) {
112 x1 = ns2x(hiPerfNode.startTime || 0, startNS, endNS, totalNS, frame);
117 (hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0) > startNS &&
118 (hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0) < endNS
120 …x2 = ns2x((hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0), startNS, endNS, totalNS, fram…
136 if (data.endTime - data.startTime === undefined || data.endTime - data.startTime === null) {
[all …]
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerHiPerfReport.test.ts38 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 …]
DProcedureWorkerProcess.test.ts49 startTime: 0,
53 dataList.push({ startTime: 1, dur: 111 });
61 startTime: 450,
66 startTime: 1,
84 startTime: 0,
106 startTime: 2,
/developtools/smartperf_host/trace_streamer/src/filter/
Dapp_start_filter.cpp51 auto startTime = sliceData.TimeStampData()[frameSliceData->CallStackIds()[m]]; in CaclRsDataByPid() local
53 auto endTime = startTime + frameSliceData->Durs()[m]; in CaclRsDataByPid()
60startTime, endTime)); in CaclRsDataByPid()
66 startTime = frameSliceData->TimeStampData()[dstId]; in CaclRsDataByPid()
67 endTime = startTime + frameSliceData->Durs()[dstId]; in CaclRsDataByPid()
71startTime, endTime)); in CaclRsDataByPid()
163 auto startTime = sliceData.TimeStampData()[row]; in UpdateAPPStartupData() local
165 …air(startIndex, std::make_unique<APPStartupData>(callId, INVALID_UINT32, INVALID_UINT32, startTime, in UpdateAPPStartupData()
177 auto startTime = sliceData.TimeStampData()[i]; in ParserAppStartup() local
180 …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/
DProcessMemDataReceiver.ts48 …let startTime = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.startTime)…
56 startTime[i] = it.startTime; //@ts-ignore
68 startTime: startTime.buffer,
76 transfer ? [ts.buffer, startTime.buffer, value.buffer, track_id.buffer] : []
DProcessDataReceiver.ts74 …let startTime = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.startTime)…
80 startTime[i] = it.startTime; //@ts-ignore
91 startTime: startTime.buffer,
99 transfer ? [startTime.buffer, dur.buffer, cpu.buffer] : []
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerProcess.ts76 if ((it.startTime || 0) + (it.dur || 0) > startNS && (it.startTime || 0) < endNS) {
103 startTime: number | undefined; property in ProcessStruct
118 if ((processNode.startTime || 0) < startNS) {
121 processNode.frame!.x = Math.floor(((processNode.startTime || 0) - startNS) / pns);
123 if ((processNode.startTime || 0) + (processNode.dur || 0) > endNS) {
127 … ((processNode.startTime || 0) + (processNode.dur || 0) - startNS) / pns - processNode.frame!.x
145 if ((processNode.startTime || 0) < startNS) {
148 x1 = ns2x(processNode.startTime || 0, startNS, endNS, totalNS, frame);
150 if ((processNode.startTime || 0) + (processNode.dur || 0) > endNS) {
153 … x2 = ns2x((processNode.startTime || 0) + (processNode.dur || 0), startNS, endNS, totalNS, frame);
DProcedureWorkerCpuProfiler.ts68 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 || …
216 startTime: number = 0;
235 … if ((jsCpuProfilerNode.startTime || 0) > startNS && (jsCpuProfilerNode.startTime || 0) < endNS) {
236 x1 = ns2x(jsCpuProfilerNode.startTime || 0, startNS, endNS, totalNS, frame);
241 (jsCpuProfilerNode.startTime || 0) + (jsCpuProfilerNode.totalTime || 0) > startNS &&
242 (jsCpuProfilerNode.startTime || 0) + (jsCpuProfilerNode.totalTime || 0) < endNS
245 (jsCpuProfilerNode.startTime || 0) + (jsCpuProfilerNode.totalTime || 0),
[all …]
/developtools/smartperf_host/ide/src/trace/bean/
DMarkStruct.ts18 startTime: number | undefined; property in MarkStruct
29 startTime?: number,
37 this.startTime = startTime;
DPerfStruct.ts38 startTime: number; property in HiPerfChartFrame
49 startTime: number,
57 this.startTime = startTime;
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/
DTabPaneMemoryAbility.ts112 let startTime = res[0].start_ts; variable
114 … getTabMemoryAbilityData(val.leftNs + startTime, val.rightNs + startTime).then((items): void => {
123 …item.startTime - startTime <= 0 ? '0:000.000.000' : Utils.getTimeStampHMS(item.startTime - startTi…
124 systemMemorySummary.durationNumber = lastTime !== 0 ? item.startTime - lastTime : 0;
127 lastTime = item.startTime;
/developtools/smartperf_host/ide/src/trace/component/
DUtils.ts27 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/trace_streamer/src/parser/pbreader_parser/arkts/
Dpbreader_js_cpu_profiler_parser.cpp93 uint64_t &startTime, in DataProcessing() argument
97 dur = (sampleEndTime * TIME_SECOND_COVER) - (startTime * TIME_SECOND_COVER); in DataProcessing()
98 …auto startNewTime = streamFilters_->clockFilter_->ToPrimaryTraceTime(TS_MONOTONIC, startTime * TIM… in DataProcessing()
105 startTime = sampleEndTime; in DataProcessing()
110 uint64_t &startTime, in ParseSampleData() argument
115 uint64_t splitStartTime = startTime * TIME_SECOND_COVER; in ParseSampleData()
139 DataProcessing(jMessage, sampleEndTime, startTime, dur, sample); in ParseSampleData()
170 uint64_t startTime = jMessage.at("startTime"); in ParseJsCpuProfiler() local
171 uint64_t sampleEndTime = startTime; in ParseJsCpuProfiler()
172 … uint32_t sample = ParseSampleData(jMessage, sampleEndTime, startTime, startTimeSnap, endTimeSnap); in ParseJsCpuProfiler()
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/frequsage/
DTabPaneFreqDataCut.ts384 if (i.startTime! + recordStartNs + i.dur! < rightNS + recordStartNs) {
385 dealArr.push({ ts: i.startTime! + recordStartNs, dur: i.dur! });
506 let startTime = Number(value[j].ts); variable
544 funData.ts < startTime &&
545 funData.ts + funData.dur > startTime &&
546 funData.ts + funData.dur > startTime + value[j].dur
551 { i: constant.i, percent, startTime, consumption, countMutiple: constant.countMutiple },
562 … { i: constant.i, percent, startTime, consumption, countMutiple: constant.countMutiple },
571 funData.ts < startTime &&
572 funData.ts + funData.dur > startTime &&
[all …]

12345678910