Home
last modified time | relevance | path

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

/external/perfetto/ui/src/controller/
Dselection_controller.ts26 import {fromNs, toNs} from '../common/time';
150 ts = fromNs(Number(v)) - globals.state.traceTime.startSec;
156 dur = fromNs(Number(v));
265 const timeFromStart = fromNs(ts) - globals.state.traceTime.startSec;
266 const dur = fromNs(cols[1].longValues![0]);
300 const timeFromStart = fromNs(ts) - globals.state.traceTime.startSec;
301 const dur = fromNs(result.columns[1].longValues![0]);
343 const startTime = fromNs(ts) - globals.state.traceTime.startSec;
382 wakeupTs: fromNs(wakeupTs),
Dlogs_controller.ts24 import {fromNs, TimeSpan, toNsCeil, toNsFloor} from '../common/time';
51 const startTs = startNs ? fromNs(startNs) : trace.start; constant
52 const endTs = endNs ? fromNs(endNs) : trace.end; constant
53 const firstRowTs = firstRowNs ? fromNs(firstRowNs) : endTs; constant
54 const lastRowTs = lastRowNs ? fromNs(lastRowNs) : startTs; constant
Dflow_events_controller.ts18 import {fromNs, toNs} from '../common/time';
53 const beginSliceStartTs = fromNs(res.columns[4].longValues![i]);
54 const beginSliceEndTs = fromNs(res.columns[5].longValues![i]);
61 const endSliceStartTs = fromNs(res.columns[11].longValues![i]);
62 const endSliceEndTs = fromNs(res.columns[12].longValues![i]);
Dtrack_controller.ts19 import {fromNs, toNs} from '../common/time';
261 fromNs(Math.pow(2, Math.floor(Math.log2(toNs(1000)))));
Dheap_profile_controller.ts28 import {fromNs} from '../common/time';
354 const startTime = fromNs(ts) - globals.state.traceTime.startSec;
/external/perfetto/ui/src/tracks/heap_profile/
Dfrontend.ts18 import {fromNs, toNs} from '../../common/time';
68 timeScale.timeToPx(fromNs(centerX)),
134 const centerX = timeScale.timeToPx(fromNs(data.tsStarts[left]));
140 const centerX = timeScale.timeToPx(fromNs(data.tsStarts[right]));
/external/perfetto/ui/src/frontend/
Dscroll_helper.ts17 import {fromNs, TimeSpan, toNs} from '../common/time';
34 fromNs(ts - currentViewNs / 2), fromNs(ts + currentViewNs / 2)));
Dcounter_panel.ts17 import {fromNs, timeToCode} from '../common/time';
48 m('td', `${timeToCode(fromNs(counterInfo.duration))}`)),
Dquery_table.ts21 import {fromNs} from '../common/time';
54 const sliceStart = fromNs(row.ts as number);
56 const sliceDur = fromNs(Math.max(row.dur as number, 1));
Dtickmark_panel.ts16 import {fromNs} from '../common/time';
57 const startSec = fromNs(globals.currentSearchResults.tsStarts[index]);
Dglobals.ts22 import {fromNs, toNs} from '../common/time';
406 return fromNs(Math.pow(2, Math.floor(Math.log2(toNs(1000)))));
409 const resolution = fromNs(Math.pow(2, Math.floor(Math.log2(pxToNs))));
/external/perfetto/ui/src/tracks/process_summary/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
83 fromNs(windowStartNs), end, resolution, bucketSizeNs);
109 bucketSizeSeconds: fromNs(bucketSizeNs),
/external/perfetto/ui/src/tracks/cpu_profile/
Dfrontend.ts21 import {fromNs, toNs} from '../../common/time';
71 timeScale.timeToPx(fromNs(centerX)),
138 const centerX = timeScale.timeToPx(fromNs(data.tsStarts[left]));
144 const centerX = timeScale.timeToPx(fromNs(data.tsStarts[right]));
/external/perfetto/ui/src/tracks/cpu_slices/
Dcontroller.ts17 import {fromNs, toNs} from '../../common/time';
134 slices.starts[row] = fromNs(startNsQ);
135 slices.ends[row] = fromNs(endNsQ);
/external/perfetto/ui/src/tracks/async_slices/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
109 slices.starts[row] = fromNs(startNsQ);
110 slices.ends[row] = fromNs(endNsQ);
/external/perfetto/ui/src/tracks/debug_slices/
Dcontroller.ts18 import {fromNs, toNs} from '../../common/time';
88 slices.starts[i] = fromNs(sliceStart);
89 slices.ends[i] = fromNs(sliceEnd);
/external/perfetto/ui/src/tracks/expected_frames/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
111 slices.starts[row] = fromNs(startNsQ);
112 slices.ends[row] = fromNs(endNsQ);
/external/perfetto/ui/src/tracks/chrome_slices/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
114 slices.starts[row] = fromNs(startNsQ);
115 slices.ends[row] = fromNs(endNsQ);
/external/perfetto/ui/src/tracks/process_scheduling/
Dcontroller.ts18 import {fromNs, toNs} from '../../common/time';
121 slices.starts[row] = fromNs(startNsQ);
122 slices.ends[row] = fromNs(endNsQ);
/external/perfetto/ui/src/tracks/thread_state/
Dcontroller.ts24 import {fromNs, toNs} from '../../common/time';
146 data.starts[row] = fromNs(startNsQ);
147 data.ends[row] = fromNs(endNsQ);
/external/perfetto/ui/src/tracks/actual_frames/
Dcontroller.ts17 import {fromNs, toNs} from '../../common/time';
127 slices.starts[row] = fromNs(startNsQ);
128 slices.ends[row] = fromNs(endNsQ);
/external/perfetto/ui/src/tracks/android_log/
Dcontroller.ts16 import {fromNs, toNsCeil, toNsFloor} from '../../common/time';
58 result.timestamps[i] = fromNs(+cols[0].longValues![i]);
/external/perfetto/ui/src/tracks/counter/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
145 data.timestamps[i] = fromNs(it.row.tsq);
/external/perfetto/ui/src/tracks/cpu_freq/
Dcontroller.ts18 import {fromNs, toNs} from '../../common/time';
113 data.timestamps[i] = fromNs(it.row.tsq);
/external/perfetto/ui/src/common/
Dtime.ts32 export function fromNs(ns: number) { function