Home
last modified time | relevance | path

Searched refs:availableMetrics (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/ui/src/frontend/
Dmetrics_page.ts22 const {availableMetrics, selectedIndex} = globals.state.metrics; constant
23 if (!availableMetrics) return undefined;
25 return availableMetrics[selectedIndex];
48 const {availableMetrics, selectedIndex} = globals.state.metrics; constant
49 if (availableMetrics === undefined) return 'Loading metrics...';
50 if (availableMetrics.length === 0) return 'No metrics available';
65 availableMetrics.map(
/external/perfetto/ui/src/common/
Dactions.ts831 if (!state.metrics.availableMetrics) throw Error('No metrics available');
836 state.metrics.availableMetrics[state.metrics.selectedIndex];
845 state.metrics.availableMetrics = args.metrics;
850 if (!state.metrics.availableMetrics ||
851 args.index >= state.metrics.availableMetrics.length) {
Dstate.ts264 availableMetrics?: string[]; // Undefined until list is loaded. property