Home
last modified time | relevance | path

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

12

/external/perfetto/ui/src/controller/aggregation/
Dcounter_aggregation_controller.ts18 import {toNs} from '../../common/time';
46 toNs(area.endSec) - toNs(area.startSec)}, 2) as avg_value,
55 (min(ts + dur, ${toNs(area.endSec)}) - max(ts,${toNs(area.startSec)}))
64 and ts + dur >= ${toNs(area.startSec)} and
65 ts <= ${toNs(area.endSec)})
Dthread_aggregation_controller.ts20 import {toNs} from '../../common/time';
63 thread_state.ts + thread_state.dur > ${toNs(area.startSec)} AND
64 thread_state.ts < ${toNs(area.endSec)}
80 toNs(area.startSec)} AND
81 thread_state.ts < ${toNs(area.endSec)}
Dcpu_by_process_aggregation_controller.ts18 import {toNs} from '../../common/time';
48 thread_state.ts + thread_state.dur > ${toNs(area.startSec)} AND
49 thread_state.ts < ${toNs(area.endSec)} group by upid`;
Dcpu_aggregation_controller.ts18 import {toNs} from '../../common/time';
49 thread_state.ts + thread_state.dur > ${toNs(area.startSec)} AND
50 thread_state.ts < ${toNs(area.endSec)} group by utid`;
Dslice_aggregation_controller.ts18 import {toNs} from '../../common/time';
61 ts + dur > ${toNs(area.startSec)} AND
62 ts < ${toNs(area.endSec)} group by name`;
/external/perfetto/ui/src/frontend/
Dscroll_helper.ts17 import {fromNs, TimeSpan, toNs} from '../common/time';
28 const startNs = toNs(globals.frontendLocalState.visibleWindowTime.start);
29 const endNs = toNs(globals.frontendLocalState.visibleWindowTime.end);
46 if (toNs(selectDur) === -1) { // Unfinished slice
50 const viewStartNs = toNs(globals.frontendLocalState.visibleWindowTime.start);
51 const viewEndNs = toNs(globals.frontendLocalState.visibleWindowTime.end);
Dsearch_handler.ts17 import {toNs} from '../common/time';
34 const startNs = toNs(globals.frontendLocalState.visibleWindowTime.start);
35 const endNs = toNs(globals.frontendLocalState.visibleWindowTime.end);
Dglobals.ts22 import {fromNs, toNs} from '../common/time';
406 return fromNs(Math.pow(2, Math.floor(Math.log2(toNs(1000)))));
408 const pxToNs = Math.max(toNs(pxToSec), 1);
410 const log2 = Math.log2(toNs(resolution));
416 log2: ${Math.log2(toNs(resolution))}`);
Dthread_state_panel.ts18 import {timeToCode, toNs} from '../common/time';
94 trackId, toNs(ts + globals.state.traceTime.startSec));
Dslice_panel.ts20 import {timeToCode, toNs} from '../common/time';
103 trackId, toNs(sliceInfo.ts + globals.state.traceTime.startSec), true);
/external/perfetto/ui/src/tracks/process_summary/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
38 const startNs = toNs(start);
39 const endNs = toNs(end);
89 const startNs = toNs(start);
90 const endNs = toNs(end);
/external/perfetto/ui/src/tracks/cpu_slices/
Dcontroller.ts17 import {fromNs, toNs} from '../../common/time';
71 const resolutionNs = toNs(resolution);
77 const startNs = toNs(start);
78 const endNs = toNs(end);
/external/perfetto/ui/src/tracks/process_scheduling/
Dcontroller.ts18 import {fromNs, toNs} from '../../common/time';
80 const resolutionNs = toNs(resolution);
83 const startNs = toNs(start);
84 const endNs = toNs(end);
/external/perfetto/ui/src/tracks/thread_state/
Dcontroller.ts24 import {fromNs, toNs} from '../../common/time';
64 const resolutionNs = toNs(resolution);
65 const startNs = toNs(start);
66 const endNs = toNs(end);
/external/perfetto/ui/src/tracks/cpu_freq/
Dcontroller.ts18 import {fromNs, toNs} from '../../common/time';
75 const resolutionNs = toNs(resolution);
78 const startNs = toNs(start);
79 const endNs = toNs(end);
/external/perfetto/ui/src/controller/
Dtrack_controller.ts19 import {fromNs, toNs} from '../common/time';
166 const traceDurNs = toNs(bounds.endSec - bounds.startSec);
257 if (Math.log2(toNs(resolution)) % 1 !== 0) {
261 fromNs(Math.pow(2, Math.floor(Math.log2(toNs(1000)))));
Dflow_events_controller.ts18 import {fromNs, toNs} from '../common/time';
159 const startNs = toNs(area.startSec);
160 const endNs = toNs(area.endSec);
/external/perfetto/ui/src/tracks/debug_slices/
Dcontroller.ts18 import {fromNs, toNs} from '../../common/time';
44 (ts + dur) >= ${toNs(start)} and ts <= ${toNs(end)}`);
/external/perfetto/ui/src/tracks/async_slices/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
30 const startNs = toNs(start);
31 const endNs = toNs(end);
/external/perfetto/ui/src/tracks/counter/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
39 const startNs = toNs(start);
40 const endNs = toNs(end);
/external/perfetto/ui/src/tracks/expected_frames/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
30 const startNs = toNs(start);
31 const endNs = toNs(end);
/external/perfetto/ui/src/tracks/chrome_slices/
Dcontroller.ts16 import {fromNs, toNs} from '../../common/time';
31 const startNs = toNs(start);
32 const endNs = toNs(end);
/external/perfetto/ui/src/tracks/actual_frames/
Dcontroller.ts17 import {fromNs, toNs} from '../../common/time';
38 const startNs = toNs(start);
39 const endNs = toNs(end);
/external/perfetto/ui/src/tracks/heap_profile/
Dfrontend.ts18 import {fromNs, toNs} from '../../common/time';
98 const time = toNs(timeScale.pxToTime(x));
113 const time = toNs(timeScale.pxToTime(x));
/external/perfetto/ui/src/tracks/cpu_profile/
Dfrontend.ts21 import {fromNs, toNs} from '../../common/time';
101 const time = toNs(timeScale.pxToTime(x));
116 const time = toNs(timeScale.pxToTime(x));

12