Home
last modified time | relevance | path

Searched refs:traceTime (Results 1 – 18 of 18) sorted by relevance

/external/perfetto/ui/src/frontend/
Dviewer_page.ts102 const traceTime = globals.state.traceTime; constant
108 if (tStart < traceTime.startSec) {
109 tStart = traceTime.startSec;
111 } else if (tEnd > traceTime.endSec) {
112 tEnd = traceTime.endSec;
140 const traceTime = globals.state.traceTime; constant
164 Math.max(Math.min(keepTime, newTime), traceTime.startSec),
165 Math.min(Math.max(keepTime, newTime), traceTime.endSec),
Dfrontend_local_state.ts247 const traceTime = globals.state.traceTime; constant
248 const startSec = capBetween(ts.start, traceTime.startSec, traceTime.endSec);
249 const endSec = capBetween(ts.end, traceTime.startSec, traceTime.endSec);
Dtime_axis_panel.ts39 timeToString(range.start - globals.state.traceTime.startSec);
43 const startTime = timeToString(globals.state.traceTime.startSec);
Dslice_panel.ts103 trackId, toNs(sliceInfo.ts + globals.state.traceTime.startSec), true);
131 details.wakeupTs - globals.state.traceTime.startSec)} on CPU ${
146 (details.wakeupTs - globals.state.traceTime.startSec))}`;
Dkeyboard_event_handler.ts176 startTs = slice.ts + globals.state.traceTime.startSec;
179 startTs = slice.ts + globals.state.traceTime.startSec;
185 startTs = threadState.ts + globals.state.traceTime.startSec;
Doverview_timeline_panel.ts46 globals.state.traceTime.startSec, globals.state.traceTime.endSec);
Dthread_state_panel.ts94 trackId, toNs(ts + globals.state.traceTime.startSec));
Dvideo_panel.ts25 const offset = globals.state.traceTime.startSec + globals.state.videoOffset;
Dlogs_panel.ts132 formatTimestamp(ts / 1e9 - globals.state.traceTime.startSec)),
Dtime_selection_panel.ts166 const offsetTime = timeToString(ts - globals.state.traceTime.startSec);
Dnotes_panel.ts268 getStartTimestamp(note) - globals.state.traceTime.startSec;
/external/perfetto/ui/src/controller/
Dtrack_controller.ts131 shouldRequestData(traceTime: TraceTime): boolean {
141 this.data.start + (traceTime.startSec - traceTime.endSec);
142 return traceTime.startSec !== prevWindowStart;
147 const inRange = traceTime.startSec >= this.data.start &&
148 traceTime.endSec <= this.data.end;
165 const bounds = globals.state.traceTime;
Dtrace_controller.ts287 const traceTime = await this.engine.getTraceTimeBounds(); constant
288 let startSec = traceTime.start;
289 let endSec = traceTime.end;
336 await this.loadTimelineOverview(traceTime);
389 private async loadTimelineOverview(traceTime: TimeSpan) {
392 const stepSec = traceTime.duration / numSteps;
398 const startSec = traceTime.start + step * stepSec;
423 const traceStartNs = toNs(traceTime.start);
447 const startSec = traceTime.start + stepSec * bucket;
Dselection_controller.ts150 ts = fromNs(Number(v)) - globals.state.traceTime.startSec;
265 const timeFromStart = fromNs(ts) - globals.state.traceTime.startSec;
300 const timeFromStart = fromNs(ts) - globals.state.traceTime.startSec;
340 rightTs !== -1 ? rightTs : toNs(globals.state.traceTime.endSec);
343 const startTime = fromNs(ts) - globals.state.traceTime.startSec;
Dlogs_controller.ts180 const traceTime = this.app.state.frontendLocalState.visibleState; constant
181 const newSpan = new TimeSpan(traceTime.startSec, traceTime.endSec);
Dheap_profile_controller.ts354 const startTime = fromNs(ts) - globals.state.traceTime.startSec;
/external/perfetto/ui/src/common/
Dstate.ts289 traceTime: TraceTime; property
788 traceTime: {...defaultTraceTime},
Dactions.ts449 state.traceTime = args;